[pmwiki-users] How do I enabel utf-8 encoding in the mailform recipe based on pmform?
Martin Kerz
martin at kerz.org
Thu Mar 13 16:27:57 CDT 2008
This worked!
Thanks a lot.
Martin
Am 13.03.2008 um 22:15 schrieb Petko Yotov:
> On Thursday 13 March 2008, Martin Kerz wrote:
>> E-Mails that are sent using the mailform
>> recipe based on pmform ( http://www.pmwiki.org/pmform/PmForm/
>> MailForm)
>> on an utf-8 econded site, don't get delivered correctly, i.e. not in
>> utf-8 encoding. Can I somehow change this?
>
> To see the message text, you need to at least add such a line
> in /local/config.php:
>
> $PmFormMailHeaders = 'Content-type: text/plain; charset="utf-8"';
>
> If you need to correctly encode the e-mail subject, you should also
> add
> something like:
>
> if(@$_POST['subject'])
> $_POST['subject'] = strtoupper("=?$Charset?B?")
> . base64_encode($_POST['subject'])."?=";
>
> Thanks,
> Petko
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2434 bytes
Desc: not available
Url : http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080313/d88a3ed6/attachment.bin
More information about the pmwiki-users
mailing list