summaryrefslogtreecommitdiffstats
path: root/README.mails
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-02-23 12:35:33 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-02-23 12:35:33 +0000
commit56bea1719337cda148c7323d95e57115a34ff4c6 (patch)
treeb93b3a43d7cb0190c79658879e939a52bcc4e60a /README.mails
parent38b6a6d93d43152d94508c1490f6cdcbe35f895a (diff)
downloadindexhtml-56bea1719337cda148c7323d95e57115a34ff4c6.tar
indexhtml-56bea1719337cda148c7323d95e57115a34ff4c6.tar.gz
indexhtml-56bea1719337cda148c7323d95e57115a34ff4c6.tar.bz2
indexhtml-56bea1719337cda148c7323d95e57115a34ff4c6.tar.xz
indexhtml-56bea1719337cda148c7323d95e57115a34ff4c6.zip
mail messages are now split in four files, header-lang, mail-lang.txt,
mail-lang.html and mail-images (that last one common to all languages) so plain text and multipart html mail messages can be built while keeping occuped size in package at its minimum. See README.mails
Diffstat (limited to 'README.mails')
-rw-r--r--README.mails24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.mails b/README.mails
new file mode 100644
index 0000000..a713dd4
--- /dev/null
+++ b/README.mails
@@ -0,0 +1,24 @@
+* Text only mails are created like this:
+
+cat mail/header-$lang > tmpfile
+cat mail/mail-$lang.txt >> tmpfile
+
+* text+html+images mails are created like this:
+
+cat mail/header-$lang > tmpfile
+cat < EOF >> tmpfile
+Content-Type: multipart/related; type="multipart/alternative";
+ boundary="=-tThpx1YEZqL4gn53WjQ1"
+
+--=-tThpx1YEZqL4gn53WjQ1
+Content-Type: multipart/alternative; boundary="=-aFPGjTr5jUHhXPWxbLcT"
+
+--=-aFPGjTr5jUHhXPWxbLcT
+EOF
+cat mail/mail-$lang.txt >> tmpfile
+cat mail/mail-$lang.html >> tmpfile
+cat mail/mail-images >> tmpfile
+
+
+
+