Hi Everyone,

Been trying this for a while now with no luck. telnet works 127.0.0.1 25 
and I can send mail through that. I then open up python shell and send 
email successful also, however whenever I want to send a email through 
web2py I get this in the postfix log:

Feb  1 10:45:06 ip-10-248-23-190 sendmail[25678]: r11Aj6Hd025678: localhost 
[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

Has anyone come across this. It's got me stumped. The above statement means 
it connects and then decides to hangup with out issuing any command.

This is my mailing code.

mail.send(to=['t...@example.com'],
    subject='Message from Espressobility',
    message='Some text for the messsage',
    reply_to='te...@example.com')

Simple yet doesn't want to work. Postfix has default settings.

This is my mail settings

mail= auth.settings.mailer
mail.settings.server = 'localhost:25' or '127.0.0.1:25'
mail.settings.sender = 'te...@example.com'
mail.settings.login = None 

Look forward to your comments.

-- 

--- 
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/groups/opt_out.


Reply via email to