I am trying to send a mail using SMTp with the test_smtp_message script. I want to run on one domain connecting to the smtp server on another machine.
The script appears to connnect ( after enable the SASL ) but no email gets sent and no error messages returned to the script?
Any suggestions please?
Debug output ...............
Resolving SMTP server domain "mail.xxxxxx.com"...
Connecting to host address "94.126.46.xxx" port 587...
Connected to SMTP server "mail.xxxxxx.com".
S 220 ds39.xxxxxx.com ESMTP Postfix
C EHLO 94.126.45.xxx
S 250-ds39.xxxxxx.com
S 250-PIPELINING
S 250-SIZE 10240000
S 250-VRFY
S 250-ETRN
S 250-STARTTLS
S 250-AUTH PLAIN CRAM-MD5 DIGEST-MD5 LOGIN
S 250-ENHANCEDSTATUSCODES
S 250-8BITMIME
S 250 DSN
C STARTTLS
S 220 2.0.0 Ready to start TLS
Starting TLS cryptograpic protocol
TLS started
C EHLO 94.126.45.xxx
S 250-ds39.xxxxxx.com
S 250-PIPELINING
S 250-SIZE 10240000
S 250-VRFY
S 250-ETRN
S 250-AUTH PLAIN CRAM-MD5 DIGEST-MD5 LOGIN
S 250-ENHANCEDSTATUSCODES
S 250-8BITMIME
S 250 DSN
Manuel Lemos - 2009-11-23 20:52:52 - In reply to message 1 from Paul Graham
If that is all the script outputs and nothing else after that, chances are that PHP is crashing or PHP is exiting due to some fatal error. Maybe you need to enable error reporting in your PHP configuration to actually see any error.
You may also want to try see what happens running PHP in the command line.