diff options
author | rub <rub@piwigo.org> | 2007-02-12 23:21:23 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-12 23:21:23 +0000 |
commit | 9ceec74971f85022ad61699dc209d7044945b149 (patch) | |
tree | 4372d31f0ab0540c4a877cd70a1d8a4068f21657 /template | |
parent | 62c1993adcfc257d98e47dc7efa8633209dbac3b (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | template/yoga/mail/text/html/header.tpl | 7 | ||||
-rw-r--r-- | template/yoga/mail/text/plain/header.tpl | 4 |
2 files changed, 8 insertions, 3 deletions
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 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
+-----={BOUNDARY_KEY}
+Content-Type: {CONTENT_TYPE}; charset={CONTENT_ENCODING};
+Content-Transfer-Encoding: 8bit
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="{LANG}" dir="{DIR}">
<head>
<title>PhpWebGallery Mail</title>
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
|