From e56895123aea566cd7a3fbe3acf522bcb34bc0b2 Mon Sep 17 00:00:00 2001 From: Chris Case Date: Wed, 16 Feb 2011 05:17:40 -0800 Subject: changed message sending to use base64 encoding --- view/en/mail_received_eml.tpl | 47 +++++++------------------------------------ 1 file changed, 7 insertions(+), 40 deletions(-) (limited to 'view/en/mail_received_eml.tpl') diff --git a/view/en/mail_received_eml.tpl b/view/en/mail_received_eml.tpl index 802280052..4ba0757cb 100644 --- a/view/en/mail_received_eml.tpl +++ b/view/en/mail_received_eml.tpl @@ -1,47 +1,14 @@ --$mimeboundary -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: base64 -$from sent you a new private message at $siteName. - -$title - -$textversion - -Please login at $siteurl to read and reply to your private messages. - -Thank you, -$siteName administrator +$textbody --$mimeboundary -Content-Type: text/html; charset=utf-8 -Content-Transfer-Encoding: 8bit - - - - - Friendika Message - - - - - - - - - - - - - - - - - - -
Friendika
$from sent you a new private message at $siteName.
$from
$title
$htmlversion
Please login at $siteurl to read and reply to your private messages.
Thank You,
$siteName Administrator
- - +Content-Type: text/html; charset=ISO-8859-1 +Content-Transfer-Encoding: base64 +$htmlbody + --$mimeboundary-- -- cgit v1.2.3 From 5aa6bbbbc5a32541c5b9176762aeccf573ba2601 Mon Sep 17 00:00:00 2001 From: Chris Case Date: Wed, 16 Feb 2011 08:05:54 -0800 Subject: fixed encoding, i had been experimenting with different ones and forgot to change it back, now UTF-8 --- view/en/mail_received_eml.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/en/mail_received_eml.tpl') diff --git a/view/en/mail_received_eml.tpl b/view/en/mail_received_eml.tpl index 4ba0757cb..99eb14391 100644 --- a/view/en/mail_received_eml.tpl +++ b/view/en/mail_received_eml.tpl @@ -1,11 +1,11 @@ --$mimeboundary -Content-Type: text/plain; charset=ISO-8859-1 +Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 $textbody --$mimeboundary -Content-Type: text/html; charset=ISO-8859-1 +Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 $htmlbody -- cgit v1.2.3