Sie sind nicht angemeldet.

jpdeglet69

Fortgeschrittener

  • »jpdeglet69« ist der Autor dieses Themas

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

1

Montag, 28. März 2011, 05:31

XMAIL Plugin

Hello,

Because of problem when using mailto link under Mac OS with French accented characters,
I wrote a small plugin to format and send correct email.
So,
- Depending of Client Operating System (Windows/Mac/Linux...) this plugin supports or converts UTF-8 Accented Characters in the subject and in the body of the email.

To use UTF-8 Accented Characters in KrPano variables (or textfields) with my XMail.swf,
- Use Hexadecimal notation from %nn,
or
- HTML notation & #nnnn; ( but some browser/email client could lead errors due to their internal code page).

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

FYE ;-) :
Here the web presentation page with ZIP files and demo
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Dieser Beitrag wurde bereits 18 mal editiert, zuletzt von »jpdeglet69« (5. April 2011, 08:56)


jpdeglet69

Fortgeschrittener

  • »jpdeglet69« ist der Autor dieses Themas

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

2

Dienstag, 29. März 2011, 11:11

Hello,

Some XMail.swf tests results :

When Extended Characters are written with HTML notation (&#nnn;)
- Rendering OK (no difference between KRPano view and eMail content)
>> Safari, Chrome - Outlook
- Rendering Not OK (difference between KRPano view and eMail content)
>> I.E. 7.x/8.x - Outlook

When Extended Characters are written with Hexadecimal notation (%nn)
- Rendering OK
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »jpdeglet69« (30. März 2011, 09:01)


Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

3

Dienstag, 29. März 2011, 16:36

Thanks for sharing :)

jpdeglet69

Fortgeschrittener

  • »jpdeglet69« ist der Autor dieses Themas

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

4

Dienstag, 12. April 2011, 22:47

Hi,

Last update : version 1.5a
- to correct Linux detection (tested on tablet phone Dell Streak and Mandriva Laptop)
- to correct "th" old characters translation (very very important of course!!!)
- to delete tab, cr, lf of xml source texts used for email.
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

5

Freitag, 3. Juni 2011, 14:39

Please I made a download from Krpano plugin and I cant make it work
On the example in the KRpano web works OK, but with the file that have downloaded dont work
When I click emil show only (to: )
Dont show subject, c/c , body anything
Please What I have to do.
Thank you



title="This multi line title will be used[br]
in the Subject of the eMail%2C[br]
without any break!!!"

body="Here a multi line text with Hexa and HTML Extended Characters...[br]
Hexa:%C0,%C1,%C2,%C3,%C4,%C5,%C6-HTML:À,Á,Â,Ã,Ä,Å,Æ[br]
Hexa:%E0,%E1,%E2,%E3,%E4,%E5,%E6-HTML:à,á,â,ã,ä,å,æ[br]
Hexa:%C8,%C9,%CA,%CB-HTML:È,É,Ê,Ë[br]
Hexa:%E8,%E9,%EA,%EB-HTML:è,é,ê,ë[br]
Hexa:%CC,%CD,%CE,%CF-HTML:Ì,Í,Î,Ï[br]
Hexa:%EC,%ED,%EE,%EF-HTML:ì,í,î,ï[br]
Hexa:%D2,%D3,%D4,%D5,%D6,%8C-HTML:Ò,Ó,Ô,Õ,Ö,Œ[br]
Hexa:%F2,%F3,%F4,%F5,%F6,%9C-HTML:ò,ó,ô,õ,ö,œ[br]
Hexa:%D9,%DA,%DB,%DC-HTML:Ù,Ú,Û,Ü[br]
Hexa:%F9,%FA,%FB,%FC-HTML:ù,ú,û,ü[br]
Hexa:%9F,%DD-HTML:Ÿ,Ý[br]
Hexa:%FD,%FF-HTML:ý,ÿ[br]
Hexa:%C7,%D0,%D1,%D7,%D8,%DE,%DF,%E7,%F0,%F1,%F7,%F8,%FE
-HTML:Ç,Ð,Ñ,×,Ø,Þ,ß,ç,ð,ñ,÷,ø,þ[br]
Hexa:%7E,%A2,%A3,%A5,%A7,%A9,%AB,%AE,%B5,%BB,%BC,%BD,%BE
-HTML:~,¢,£,¥,§,©,«,®,µ,»,¼,½,¾[br]
HTML:Š,š,“,”,…,€,™[br]
...to send in the body of the eMail WITH ALL breaks!!!"
/>


font="Arial" fontsize="12" bold="true" italic="true"
origin="cursor" edge="bottom" xoffset="0" yoffset="-5"
background="false"
border="false"
textcolor="0xff9900"
textalign="center"
alpha="1.0" blendmode="layer"
effect="glow(0xFFFFFF,0.2,2,2);dropshadow(4,40,0x000000,4,1);"
/>

url="xmail.swf"
to="to_name@domain"
cc="cc_namec@domain"
subject="text subject"
body="text body"
forceascii="_Linux_MacOS_"
forcespace="true"
email="built email"
error="error"
/>



url="btn_email.png" x="40" y="10"
onhover="showtext(eMail);"
onout="set(blendmode, screen);"
onover="set(blendmode,add));"
onclick="
copy(plugin[xmail].subject,panotxt.title);
copy(plugin[xmail].body,panotxt.body);
set(plugin[xmail].forceascii, '_Linux_MacOS_');
plugin[xmail].send();
showresult();"
/>



trace('OS : ', get(plugin[xmail].full_os), ' - ', get(plugin[xmail].short_os));
trace('eMail: ', get(plugin[xmail].email));
trace('Error: ', get(plugin[xmail].error));
</action>
</plugin></plugin>

jpdeglet69

Fortgeschrittener

  • »jpdeglet69« ist der Autor dieses Themas

Beiträge: 215

Wohnort: France

Beruf: VR Maker and Document Management Expert

  • Nachricht senden

6

Donnerstag, 9. Juni 2011, 08:59

Hello Net360

This plugin works in Local mode, only if you use a web server
or online site of course !!!

;-)
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://eleana.online

7

Freitag, 10. Juni 2011, 02:16

Ok I will try it on the localhost
Thank you