RE: [PHP-WIN] SMTP & PHP & Windows 2k/XP
| From: | HKG) | Date: | Wed, 07 Apr 2004 16:17:02 +0000 |
| Subject: | RE: [PHP-WIN] SMTP & PHP & Windows 2k/XP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23394@lists.php.net to get a copy of this message | ||
On Wed, 2004-04-07 at 17:51, jon roig wrote:
> What happens when you try to telnet from the webserver to the smtp
> server port 25?
>
> Can you successfully send an email by hand?
Of course, I done that a million times.
Try this (from memory):
telnet some.mailhost.com 25
HELO host.domain
MAIL FROM: <sender>\n
RCPT TO: <receiver>\n
DATA\n
<your message>\n
.\n
QUIT\n