/[treasurer]/tools/send-thanks-email
ViewVC logotype

Contents of /tools/send-thanks-email

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90 - (show annotations) (download)
Fri Oct 4 10:14:25 2013 UTC (4 years, 2 months ago) by boklm
File size: 1590 byte(s)
Update thanks email with suggestion from David W. Hodgins and Donald Stewart
1 #!/bin/sh
2
3 [ $# = 2 ] || exit 1
4
5 to="$2"
6 bcc='treasurer@mageia.org'
7 from='Mageia Treasurer <treasurer@mageia.org>'
8 subject='Thanks for your donation to the Mageia project'
9 case "$1" in
10 paypal)
11 echo "Press enter to send thanks to $to ($1)"
12 read z
13 mailx -b "$bcc" -r "$from" -s "$subject" "$to" <<EOF
14 Thanks for supporting the Mageia project with a donation !
15
16 This message is just to inform you that we received your donation and
17 that it will soon be listed on our donations website at the following
18 URL :
19
20 https://treasurer.mageia.org/donations_all.html
21
22 Note that the amount indicated on the website is a little lower than
23 what you paid, because of the paypal fees.
24
25 In case of error in your name, or if you want your donation to be
26 anonymous, please let us know by answering to this email and we will
27 correct it.
28
29 EOF
30 break
31 ;;
32
33 anonymous)
34 echo "Press enter to send thanks to $to ($1)"
35 read z
36 mailx -b "$bcc" -r "$from" -s "$subject" "$to" <<EOF
37 Thanks for supporting the Mageia project with a donation !
38
39 This message is just to inform you that we received your donation and
40 that it will soon be listed on our donations website at the following
41 URL :
42
43 https://treasurer.mageia.org/donations_all.html
44
45 Note that the amount indicated on the website is a little lower than
46 what you paid, because of the paypal fees.
47
48 As you requested this donation to be anonymous, it will appear under
49 the "Anonymous" name.
50
51 EOF
52 break
53 ;;
54
55 *)
56 echo "Unknown $1"
57 exit 1
58 break
59 ;;
60 esac

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26