sending a email

User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

sending a email

Post by John »

You need to encode the email according to the email standards (http://tools.ietf.org/html/rfc2822), which if $mailsubject has UTF-8 data would be something like:

Subject: =?UTF-8?B?<fmt "%B" $mailsubject>?=
John Turnbull
Thunderstone Software
josmani
Posts: 53
Joined: Tue Jun 03, 2003 3:38 am

sending a email

Post by josmani »

It worked, many thanks
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

sending a email

Post by Kai »

Alternatively, if your Vortex version is 2010-09-01 or later, you can print the subject with <fmt "Subject: %W\n" $mailsubject> to print in encoded-word format; this works for both ASCII and UTF-8 $mailsubject.
Post Reply