Changes between Version 19 and Version 20 of BluePrint/Messaging


Ignore:
Timestamp:
07/16/09 01:28:21 (15 years ago)
Author:
Fran Boon
Comment:

mail.send()

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Messaging

    v19 v20  
    2424mail.sender='sahana@sahanapy.org'
    2525}}}
     26& a function:
     27{{{
     28mail.send(to, subject='None', message='None')
     29}}}
    2630
    2731Can use this to send emails with dynamic data inserted into templates (like HTML pages):
    2832 * http://groups.google.com/group/web2py/browse_thread/thread/f6c903f9c67cfe2e
    2933
    30 Simple app for sending mails from a form (using smtplib):
    31  * http://mdp.cti.depaul.edu/appliances/default/show/10
    32 
    3334smtplib is required for sending HTML mails (MIME encoded):
    3435 * http://groups.google.com/group/web2py/browse_thread/thread/3d8ed693dd2f29bc
    3536
    36 T2 supports sending emails:
    37 {{{
    38 self.email_server='localhost'
    39 self.email_auth=''
    40 def t2.email(self,sender,to,subject='test',message='test'):
    41 }}}
    42 
     37Simple app for sending mails from a form (using smtplib):
     38 * http://mdp.cti.depaul.edu/appliances/default/show/10
    4339=== SMS ===
    4440 * RapidSMS (Python-based): http://rapidsms.org