Hi,
did you try to send a mail from telnet?
telnet localhost 25 (this connects to your smtp server)
EHLO mail.example.com
MAIL FROM: y...@example.com
RCPT TO: destinat...@example.com
data
# enter message bodyand end with a line with only a full stop.
blah blah blah
more blah
.
with this
On 4 dic, 21:54, Miguel Lopes mig.e.lo...@gmail.com wrote:
Hi Bernado,
2010/12/4 Bernardo Botella Corbí estem...@gmail.com
Hi Miguel,
which test did you do from command line?
does web2py print something? Any error?
Try to do the next thing from the command line:
tail -f
Ok. Solved!
It was really just a configuration issue:
mail.settings.server = 'localhost:25'# I
wasn't referring to the server properly!
mail.settings.sender = 'whatever.m...@yourdomain.com' # your email
with this setup I can send email with sendmail from web2py.
Hi Miguel,
which test did you do from command line?
does web2py print something? Any error?
Try to do the next thing from the command line:
tail -f /var/log/mail.log
(if you are in ubuntu/debian, don't know where it would be in other
distributions...)
and see if it complaints about anything
Hi Bernado,
2010/12/4 Bernardo Botella Corbí estem...@gmail.com
Hi Miguel,
which test did you do from command line?
does web2py print something? Any error?
Try to do the next thing from the command line:
tail -f /var/log/mail.log
If I try to send mail from web2py using local resources
did you apt-get install portfix?
On Dec 3, 6:36 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail. The server as
On Sat, Dec 4, 2010 at 1:12 AM, mdipierro mdipie...@cs.depaul.edu wrote:
did you apt-get install portfix?
Do you mean postfix? No I didn't.
By the way, tp be precise in the config I'm using:
mail.settings.server = 'myIPaddress:25' # your
SMTPserver
since sendmail
7 matches
Mail list logo