Thanks Alan.
It is working now..with this script
from gluon.tools import Mail
mail = Mail()
mail.settings.server = 'localhost'
mail.settings.sender = 'x...@xxx.org'
mail.settings.login = None
mail.settings.tls = None
thanks
On Wednesday, 4 December 2013 14:55:59 UTC-8, sonu kumar wrote:
>
>
Hi Alan,
I checked as you said..it gives
mail.result ={}
mail.error = gaierror(-2, 'Name or service not known')
On Wednesday, 4 December 2013 14:48:00 UTC-8, Alan Etkin wrote:
>
>
> as my IT dept told me that this smtp does not need any login...this smtp
>> direct send mail and it is working fi
> as my IT dept told me that this smtp does not need any login...this smtp
> direct send mail and it is working fine for them. But I don't know why it
> is not working for me...Is there any mistake I am doing in my code??
>
After mail.send(), check the values for mail.result and mail.error
--
3 matches
Mail list logo