= Blueprint for the Messaging Module = Current design is here: * http://wiki.sahana.lk/doku.php?id=dev:msg_archi User Guide: * http://wiki.sahana.lk/doku.php?id=doc:message:english What we need is: * Contacts List * Admin UI for: * Email Settings * SMS Settings * CAP alerts: http://talksahana.com/2009/03/04/firefox-browser-cap-alerting-plugin-sahana-idea-for-gsoc2009/ * SMS alerts * SMS login / data entry / reports * [wiki:BluePrintMessagingModuleJ2ME J2ME client] === Email === tools.py has mail settings: {{{ mail=MailS3() # These settings should be made configurable as part of the Messaging Module mail.settings.server='mail:25' mail.sender='sahana@sahanapy.org' }}} & a function: {{{ mail.send(to, subject='None', message='None') }}} Can use this to send emails with dynamic data inserted into templates (like HTML pages): * http://groups.google.com/group/web2py/browse_thread/thread/f6c903f9c67cfe2e smtplib is required for sending HTML mails (MIME encoded): * http://groups.google.com/group/web2py/browse_thread/thread/3d8ed693dd2f29bc Simple app for sending mails from a form (using smtplib): * http://mdp.cti.depaul.edu/appliances/default/show/10 === SMS === * RapidSMS (Python-based): http://rapidsms.org * Kannel: http://kannel.org (!PyKannel: http://mobilehacking.org/index.php/PyKannel) * SMSTools: http://smstools3.kekekasvi.com * Gnokii: http://www.gnokii.org (!PyGnokii: http://mobilehacking.org/index.php/PyGnokii) * Gammu: http://www.gammu.org (Python-gammu: http://www.gammu.org/wiki/index.php?title=Gammu:Python-gammu) * !PySerial: http://pyserial.wiki.sourceforge.net/pySerial Q: How to get SMS daemon running from Webapp? * Perhaps this cron example will help: * http://groups.google.com/group/web2py/browse_thread/thread/44817da72c798df8 * http://groups.google.com/group/web2py/browse_thread/thread/cfe89bfa9d87bc ---- BluePrints