Solved it!
mail = auth.settings.mailer
mail.settings.server = '127.0.0.1:25'
mail.settings.sender = '[email protected]'
mail.settings.tls = False
mail.settings.login = None



On Tue, Apr 1, 2014 at 11:04 AM, Austin Taylor <[email protected]>wrote:

> 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"
> [email protected]' 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
>
> --
> 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
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to