scripts/mails.py
changeset 46 971ba6d7a529
parent 45 a7cb2566be42
child 47 668e7e0881b6
equal deleted inserted replaced
45:a7cb2566be42 46:971ba6d7a529
    65         subject = 'SciPy.in 2009: Remainder and details'
    65         subject = 'SciPy.in 2009: Remainder and details'
    66         message = loader.render_to_string(
    66         message = loader.render_to_string(
    67             template, dictionary={'name': reg.user.username})
    67             template, dictionary={'name': reg.user.username})
    68 
    68 
    69         reg.user.email_user(subject=subject, message=message,
    69         reg.user.email_user(subject=subject, message=message,
    70                             from_email='admin@scipy.in')
    70                             from_email='madhusudancs@gmail.com')