Version 19 (modified by 15 years ago) ( diff ) | ,
---|
Blueprint for the Messaging Module
Current design is here:
User Guide:
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
- J2ME client
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'
Can use this to send emails with dynamic data inserted into templates (like HTML pages):
Simple app for sending mails from a form (using smtplib):
smtplib is required for sending HTML mails (MIME encoded):
T2 supports sending emails:
self.email_server='localhost' self.email_auth='' def t2.email(self,sender,to,subject='test',message='test'):
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:
Attachments (1)
-
Message Flows.png
(20.8 KB
) - added by 15 years ago.
Message Flows
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.