* Fixed a multiselect bug in the mailbox view. Ctrl-click was selecting a message...
[citadel.git] / citadel / sendwelcomemail.sh
blobf1ac8c1783cf83771905d92db877cdd5d8f8d54e
1 #!/bin/bash
4 export FOO=2600908b3f21ae7f692b973ed26e212d
5 export WELCOMEHTML=welcomemail.html
6 export WELCOMETXT=welcomemail.txt
7 export FROM=room_citadel_stats@uncensored.citadel.org
8 export TO=room_lobby
10 printf "MIME-Version: 1.0\r\nContent-Type: multipart/alternative; \r\n boundary=$FOO\r\n\r\nThis is a multi-part message in MIME format.\r\n\r\n--$FOO\r\nContent-Type: text/plain; charset=utf-8\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n";
11 cat $WELCOMETXT
12 printf "\r\n\r\n--$FOO\r\nContent-Type: text/html; charset=US-ASCII\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n"
13 cat $WELCOMEHTML;
14 printf "\r\n\r\n--$FOO--\r\n\r\n") | \
15 citmail -bm -r "$FROM" "$TO"