Thank It is working now

On Monday, July 25, 2016 at 3:11:20 PM UTC+2, Mirek Zvolský wrote:
>
> Such setting format is from private/appconfig.ini.
> In db.py I have:
> mail = auth.settings.mailer
> mail.settings.server = 'logging' if request.is_local else myconf.take(
> 'smtp.server')
> mail.settings.sender = myconf.take('smtp.sender')
> mail.settings.login = myconf.take('smtp.login')
>
>
>
>
> Dne pondělí 25. července 2016 15:07:47 UTC+2 Mirek Zvolský napsal(a):
>>
>> Try the port :587 setting.
>> My settings are:
>> [smtp]
>> server = smtp.sparkpostmail.com:587
>> sender = x...@xxxx.eu
>> login = SMTP_Injection:4d..92
>>
>>
>>
>>
>> Dne neděle 24. července 2016 16:52:17 UTC+2 icodk napsal(a):
>>>
>>> I try to use sparkpost with web2py. However I get the following error:
>>> WARNING:web2py:Mail.send failure:SMTP AUTH extension not supported by 
>>> server.
>>> More info:
>>> 1. I can successfully send mails with python so my API key and domain 
>>> settings in sparkpost are set right.
>>> 2. In web2py I use the following settings:
>>> mail = auth.settings.mailer
>>> mail.settings.server = 'smtp.sparkpostmail.com'
>>> mail.settings.sender = 'mym...@mydomain.com'
>>> mail.settings.login = 
>>>  'SMTP_Injection:6cac88c501995821029388150fd5896bab8ac136'
>>>
>>> Thanks in advance
>>>
>>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to