Changes between Version 154 and Version 155 of BluePrint/Messaging
- Timestamp:
- 06/05/13 15:01:25 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/Messaging
v154 v155 86 86 == Transports == 87 87 === Email === 88 {{{gluon/tools.py}}} has mail settings: 89 {{{ 90 mail=MailS3() 91 # These settings should be made configurable as part of the Messaging Module 92 mail.settings.server='mail:25' 93 mail.sender='sahana@sahanapy.org' 94 }}} 95 & a function: 96 {{{ 97 mail.send(to, subject='None', message='None') 98 }}} 99 100 Can use this to send emails with dynamic data inserted into templates (like HTML pages): 88 Can send emails with dynamic data inserted into templates (like HTML pages): 101 89 * http://groups.google.com/group/web2py/browse_thread/thread/f6c903f9c67cfe2e 102 103 There is a Cron job to check the contents of the Outbox & send pending messages. On Success it marks the message as 'Sent':104 * http://web2py.com/examples/default/cron105 106 90 ==== Rich Text ==== 107 91 We'd like to be able to send HTML mails for rich-text support (including attachments)