[CentOS] Email Problem

Ross Walker rswwalker at gmail.com
Fri Feb 26 15:22:50 UTC 2010


On Feb 26, 2010, at 9:34 AM, Susan Day <suzieprogrammer at gmail.com>  
wrote:

>
> I've not done this before. Here's what I did. Please see if this  
> looks correct:
>
> [root]# telnet mail.mydomain.com 25
> Trying 209.216.9.56...
> Connected to mail.mydomain.com.
> Escape character is '^]'.
> 220 mail.mydomain.com ESMTP
> HELO mail.mydomain.com
> 250 mail.mydomain.com
> MAIL FROM suzie at mydomain.com
> 250 ok
> RCPT TO suzieprogrammer at gmail.com
> 250 ok
> DATA testing
> 354 go ahead
> .
> 250 ok 1267194591 qp 11432
> quit
> 221 mail.mydomain.com
> Connection closed by foreign host.
> [root]#

You didn't create a body to your email!

The proper way to send an email through SMTP is:

DATA
354 go ahead
From: "Susan Day" <suzie at mydomain.com>
To: "Susan Day" <susieprogrammer at gmail.com>
Subject: Test

This is a test only a test.
.
250 ok 1267194591 qp 11432
quit

-Ross
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100226/53f0b194/attachment.html 


More information about the CentOS mailing list