From 9ceec74971f85022ad61699dc209d7044945b149 Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 12 Feb 2007 23:21:23 +0000 Subject: When not template are selected for mail, PWG uses default template.. Sent multi-part message in MIME format. (With only one part for the moment). Improvement pwg_mail function. git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/mail/text/html/header.tpl | 7 +++++-- template/yoga/mail/text/plain/header.tpl | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'template/yoga/mail') diff --git a/template/yoga/mail/text/html/header.tpl b/template/yoga/mail/text/html/header.tpl index 20d3a9780..8ac637793 100644 --- a/template/yoga/mail/text/html/header.tpl +++ b/template/yoga/mail/text/html/header.tpl @@ -1,5 +1,8 @@ - +-----={BOUNDARY_KEY} +Content-Type: {CONTENT_TYPE}; charset={CONTENT_ENCODING}; +Content-Transfer-Encoding: 8bit + + PhpWebGallery Mail diff --git a/template/yoga/mail/text/plain/header.tpl b/template/yoga/mail/text/plain/header.tpl index fec68b422..d409439bc 100644 --- a/template/yoga/mail/text/plain/header.tpl +++ b/template/yoga/mail/text/plain/header.tpl @@ -1 +1,3 @@ -{FAKE_SIMULATE_EMPTY_FILE} \ No newline at end of file +-----={BOUNDARY_KEY} +Content-Type: {CONTENT_TYPE}; charset={CONTENT_ENCODING}; format=flowed; +Content-Transfer-Encoding: 8bit -- cgit v1.2.3