blob: a713dd46939a76e76131965a36df8e224fb40071 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|