did you try to see what errors you get back ? rtn = mail.send('y...@example.com', 'Message subject', 'Plain text body of the message')
print rtn print mail.result print mail.error ? Il giorno venerdì 30 novembre 2012 11:16:00 UTC+1, Aurelijus Useckas ha scritto: > > nope... I'm running a linux. Virus free environment. No need for McAfee ;) > > Thnx anyway guys, I guess I'll check with my provider. It has to be their > fault. > > On Thursday, November 29, 2012 3:36:09 PM UTC+2, Mark wrote: >> >> If McAfee is running on the server, McAfee blocked the emails sending >> from web2py, which isn't on the whitelist of McAfee. Try to change >> web2py.exe into apache.exe >> >> On Wednesday, November 28, 2012 10:20:55 AM UTC-5, Aurelijus Useckas >> wrote: >>> >>> Hey, strange situation. Would apreciate your help... >>> >>> I have 2 identical versions of the same app running on local host >>> (v2.2.1) and the server (v2.2.1 as well). Local version handles auth mail >>> (mail.send) very well, but the app which is running on server is unable to >>> send anything. >>> >>> This must be something with the server but I'm not sure what and how to >>> ask?? BTW the server is dedicated, I myself have deployed a web2py on it. >>> >>> Thank you in advance! >>> >> --