diff options
-rw-r--r-- | project/templates/notifications/last_day_mail.html | 26 | ||||
-rw-r--r-- | scripts/mails.py | 18 |
2 files changed, 44 insertions, 0 deletions
diff --git a/project/templates/notifications/last_day_mail.html b/project/templates/notifications/last_day_mail.html new file mode 100644 index 0000000..1d62f77 --- /dev/null +++ b/project/templates/notifications/last_day_mail.html @@ -0,0 +1,26 @@ +Hello {{ name }}, + The first edition of the Indian version of SciPy conference, dubbed +SciPy.in 2009 starts from tomorrow. The entire SciPy.in team is +looking forward to meet you all. Thanks for all the response and +enthusiasm you have shown towards the conference. + + The team has updated the website with the final schedule for the +conference. The schedule is available at the URL: +http://scipy.in/talks-cfp/schedule/ + + Please check the website for the schedule posted and stay tuned for +more updates. If you are twitter/indenti.ca savy, the id of the team +is fossee on both twitter and identi.ca. Also, please use the hashtags +#scipy #india or just #scipy. Please don't use #scipy.in because +twitter robs the dots ;-) + + The website is also updated with "How to reach the venue?" and +"Accommodation" details. Please check them. + + Last but not the least, any issue getting to the Techno park or any +help you want regarding SciPy.in 2009, please call me on this number: ++91-9987214220. My name is Madhusudan.C.S + +-- + Thanks, + SciPy.in team diff --git a/scripts/mails.py b/scripts/mails.py index bbb85e9..1634b51 100644 --- a/scripts/mails.py +++ b/scripts/mails.py @@ -89,6 +89,24 @@ def delegate_about_event(): from_email='madhusudancs@gmail.com') +def delegate_last_day(): + """Sends a mail to each confirmed delegate informing + them about the final details. + """ + + regs = Registration.objects.all() + + template = 'notifications/last_day_mail.html' + + for reg in regs: + subject = 'SciPy.in 2009: Schedule and other details' + message = loader.render_to_string( + template, dictionary={'name': reg.registrant.username}) + + reg.registrant.email_user(subject=subject, message=message, + from_email='madhusudancs@gmail.com') + + def speaker_confirmation(): """Sends a mail to each speaker asking for confirmation. """ |