On 14 April 2012 16:13, weheh <[email protected]> wrote:

> I'm trying without success to get web2py mail working with an SSL
> connection. I've searched the forum and come up with this:
>
> mail.settings.tls = True
> mail.settings.login = False  # I am not using auth in this case
> mail.settings.server = 'mail.mydomain.com:465'  # your SMTP server
> mail.settings.login = 'me:somepasswd'  # your credentials
> mail.settings.sender = '[email protected]'  # your email
>
> web2py looks like it's sending the email but I'm not getting it. I wonder
> if anyone can shed some more light on the matter.
>

Try mail.settings.login = None  (and delete the second mail.settings.login
line)

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to