def sendmail():
        mail=Mail()
        mail.settings.server='pop.gmail.com:995'
        mail.settings.sender='[email protected]'
        mail.settings.login='[email protected]:password'
        return mail.send(to=['[email protected]'], subject='hi',
message='hi)

where I am using the correct username and password. However the
mail.send function is returning false and also the mail is not been
sent to the desired destination. Can I know what I am doing wrong.

Thanks and Regards,
Aditya Desai.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to