author | nishanth |
Sat, 17 Jul 2010 00:27:48 +0530 | |
branch | anoop |
changeset 119 | eecbb1e59a3a |
parent 118 | 6c3602582f9f |
child 137 | 02a5304a2c5f |
permissions | -rw-r--r-- |
53 | 1 |
from django.core.mail import send_mail |
2 |
||
54 | 3 |
def send_reg_complete_mail(email, first_name, last_name): |
53 | 4 |
""" send registration complete email to the registered user. |
5 |
""" |
|
6 |
||
118
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
7 |
subject = "Sage Days 25, India - Registration" |
53 | 8 |
|
9 |
message = """ |
|
55 | 10 |
Dear %s %s, |
53 | 11 |
|
55 | 12 |
Thank you for registering on Sage Days 25, India. Since we have limited number of seats we will be mailing you the status of your registration shortly. |
13 |
Meanwhile you may join the Sage Days mailing list/group at [http://groups.google.com/group/sagedays25]. |
|
53 | 14 |
|
55 | 15 |
Registration Fee: |
16 |
There is a registration fee of Rs.200/- and it can be paid on reporting at the conference. |
|
53 | 17 |
|
55 | 18 |
Accommodation: |
19 |
The accommodation for delegates is limited and hence you shall be notified on the status of your accommodation(if required) soon. |
|
53 | 20 |
|
55 | 21 |
Queries: |
22 |
Feel free to contact us at sagedays@fossee.in for any queries. |
|
53 | 23 |
|
73 | 24 |
If you did not register for Sage Days 25, please ignore this mail and report the incident to sagedays@fossee.in |
25 |
||
55 | 26 |
Thanking you, |
53 | 27 |
|
55 | 28 |
Sage Days India Team, |
29 |
FOSSEE, IIT Bombay. |
|
53 | 30 |
"""%(first_name.title(), last_name.title()) |
31 |
||
32 |
send_mail(subject, message, "sagedays@fossee.in", [email]) |
|
33 |
||
118
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
34 |
def send_wsp_ptc_confirm(user): |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
35 |
""" send a mail telling that you have been selected to attend sage days. |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
36 |
""" |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
37 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
38 |
subject = "Sage Days 25, India - Selected for participation" |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
39 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
40 |
message = """ |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
41 |
Dear %s %s, |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
42 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
43 |
You have been selected to attend Sage Days 25, India. |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
44 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
45 |
Please click the link below or paste it in a browser to confirm your participation. |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
46 |
http://fossee.in/sage_days/registration/cnf_sgd_ptc/%s?email=%s |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
47 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
48 |
Please ignore this mail if you are not likely to attend Sage Days 25, India. |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
49 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
50 |
PS: |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
51 |
Your participation will be confirmed only if you visit the link above at the latest by 26 July, 2010. |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
52 |
If you by any chance have not confirmed your participation by 26 July, 2010 and still want to participate, write a mail to sagedays@fossee.in |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
53 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
54 |
Thanking you, |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
55 |
|
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
56 |
Sage Days India Team, |
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
57 |
FOSSEE, IIT Bombay. |
119 | 58 |
"""%(user.first_name.title(), user.last_name.title(), user.id, user.email) |
118
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
59 |
|
119 | 60 |
send_mail(subject, message, "sagedays@fossee.in", [user.email]) |
118
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
73
diff
changeset
|
61 |
|
56 | 62 |
def mail_invi(to_emails): |
63 |
""" send the invitation email to given email addresses. |
|
64 |
""" |
|
65 |
||
66 |
subject = "Invitation to Sage Days 25, India" |
|
67 |
||
68 |
message = """ |
|
69 |
Sage Days 25 - An Invitation |
|
70 |
||
71 |
What is 'Sage Days'? |
|
72 |
Sage Days is a confluence of present and prospective SAGE Users and Developers. It is an opportunity to come together to share ideas, |
|
73 |
brainstorm and hack on Sage. |
|
74 |
||
75 |
Sage Days 25 is the 25th version of Sage Days, and is being organized in Mumbai, India. In order to cater to an Indian audience and scenario, this version has been tweaked slightly. Sage Days 25 has beginner level tutorials, in addition to the usual talks and sprints, to help new users get started with Sage and help promote the use of Sage in India. |
|
76 |
||
77 |
What is Sage? |
|
78 |
Sage is a free, open-source mathematics software system licensed under the GPL. It combines the power of numerous existing open-source packages into a common Python-based interface. It's mission is to create a "viable free open source alternative to Magma, Maple, Mathematica and Matlab". |
|
79 |
||
80 |
Sage has tools for a broad range of mathematical areas like Linear Algebra, Calculus, Symbolic Math, Plotting, Rings & Groups, Graph Theory, Number Theory and Cryptography. Essentially, "it can do anything from mapping a 12-dimensional object to calculating rainfall patterns under global warming" - as Science Daily puts it . Eager to get started? Start here. [#1] |
|
81 |
||
82 |
Apart from being feature rich, it's usability is one of it's greatest strengths. Sage Notebook, a web-interface for all the math you'll ever want to do, is really the killer feature! As the Sage Marketing page says, "The SAGE GUI surely works on your computer box, because it just runs in Firefox!". Try it Now! [#2] |
|
83 |
||
84 |
Why should you attend? |
|
85 |
Sage Days 25 is being attended by the creator and lead developer of Sage, Prof. William Stein. It will also be attended by other developers of Sage. This would be a great opportunity to meet and interact with them! |
|
86 |
||
87 |
The conference will be attended by a plethora of enthusiastic people from all over the country who use Sage or are interested in doing so. The conference will also see the presence of many mathematicians interested in software. Who knows, you may run into someone you'd want to collaborate with, for your future work! |
|
88 |
||
89 |
This event will be a great learning experience, if you are even remotely interested in math and software for it! |
|
90 |
||
91 |
When and Where? |
|
92 |
Venue: IIT-Bombay, Mumbai, India |
|
93 |
Dates: August 9-12, 2010 |
|
94 |
||
95 |
Tentative Schedule: http://fossee.in/sage_days/schedule/ |
|
96 |
Register Here: http://fossee.in/sage_days/registration/register/ |
|
97 |
||
98 |
[#1] http://www.sagemath.org/tour.html |
|
99 |
[#2] http://www.sagenb.org/ |
|
100 |
||
101 |
-- |
|
102 |
Sage Days India Team, |
|
103 |
FOSSEE, IIT Bombay. |
|
104 |
||
105 |
""" |
|
106 |
||
107 |
for emails in to_emails: |
|
108 |
send_mail(subject, message, "sagedays@fossee.in", emails) |
|
109 |