From: Francis Cianfrocca Date: 2006-07-31T21:02:39+09:00 Subject: Re: TCPSocket and RFC 821 Satish Talim wrote: > Here's my Telnet session using 1st SMTP server. > > ---------------------------------- > 220 Welcome to the 1st SMTP Server > HELO > 250 Hello > MAIL FROM: > 250 satish@puneruby.com Address Okay > RCPT TO: > 250 satish.talim@gmail.com Address Okay > DATA > 354 Start mail input; end with . > This is the Telnet transcript > For Ruby Talk > . > ---------------------------------- > > After this no progress. Try this instead: ------------------------- DATA 354 Start..... Subject: This is an email This is the telnet transcript . -------------------------- Notice the blank line between the RFC-822 header and the message content. Also, try running the same telnet conversation across a network from a Windows client. (Telnet on Windows sends CRLF line-endings, which your mail server may be anal-retentive enough to require.) -- Posted via http://www.ruby-forum.com/.