Using Post mail in CentOS for Web2py

23 views
Skip to first unread message

Austin Taylor

unread,
Apr 1, 2014, 11:04:10 AM4/1/14
to web...@googlegroups.com
Hello,

I'm trying to setup web2py to use mail for linux.

I already have linux configured, so I don't need to use the configuration settings in db.py. For example, I could type 'mail -s "test email" us...@domain.com' and send an e-mail.

How could I incorporate web2py's register/lost password feature to use those settings instead?

Thank you so much.

Austin

Austin Taylor

unread,
Apr 1, 2014, 11:35:02 AM4/1/14
to web...@googlegroups.com
Solved it!
mail = auth.settings.mailer
mail.settings.server = '127.0.0.1:25'
mail.settings.sender = 'test...@domain.com'
mail.settings.tls = False
mail.settings.login = None



--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/bc5OIZwmA5o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages