close panorama

xMail Plugin xmail.swf
by J.Ph Degletagne - jpdeglet@gmail.com

Description

A plugin to format and send an email thru mailto command (use client email software!!!)
- Depending of Client Operating System (Linux/Mac/Windows...) this plugin translates Accented UTF-8 Characters used in the subject and or in the body of the email to basic ASCII sequence.

To use Accented UTF-8 Characters in KrPano variables (or textfields) in eMail,
- Use Hexadecimal notation: - %nn - or HTML notation: - &#nnnn; -
- See source example for complete set of Accented UTF-8 Characters supported and/or translated.

Multi-line texts ( [br] KRPano break tag) are translated:
- In Subject, all [br] are replaced by spaces
- In Body, all [br] are replaced by %0D%0A (hexadecimal sequence: CRLF)

Current Version:
- 1.5a April 2011

Download

xmail.zip  (plugin and example included, 145kb)
Free of use.

Syntax / XML Usage Example

<plugin name="xmail" 
        url="xmail.swf" 
        to="to_name@domain"
        cc="cc_name@domain" 
        bcc="bcc_name@domain"
        subject="text subject"
        body="text body"
        forceascii="_Linux_MacOS_"
        forcespace="true"
        
        error="error"
        />

Plugin Attributes

  • forceascii
    • to force translation from Accented UTF-8 Characters to basic characters.
      Windows... mailto command can send Accented UTF-8 Characters,
      Linux/Mac OS... mailto command CANNOT send Accented UTF-8 Characters !!!
    • Default and recommended value is fixed to "_Linux_MacOS_".
    • possible values :
      "_All_",
      "_Linux_",
      "_MacOS_" ,
      "_Windows_" for Win95/98/2000,Seven
      "_WindowsCE_" for Windows CE,
      "_WindowsNT_" for Windows NT,
      "_WindowsXP_" for Windows XP

      Examples:
      - To force translation for different OS client, define :
      forceascii="_MacOS_Windows_"
      - To force translation for all OS client,define:
      forceascii="_All_"
  • forcespace
    • to translate space to hexadecimal sequence "%20".
    • Default and recommended value is fixed to "true".

Example

...With all Accented UTF-8 Characters supported and/or translated...

CLICK TO VIEW EXAMPLE