From: mad joker Date: 2010-03-11T19:52:33+09:00 Subject: Simple SMTP server in ruby --0016e648a77036758404818436c2 Content-Type: text/plain; charset=ISO-8859-1 Hi, I was trying a simple mail smtp server in ruby. I tried the code in the following link http://snippets.dzone.com/posts/show/3932 I am unable to send mail to my gmail account from the server. Can you please tell What may be the reason? I dont want to use any SMTP servers like ( sendmail or qmail) .I used the code in the link as server.rb. I tried using the following simple code msgstr = < To: some Subject: test message Date: Sat, 23 Jun 2001 16:26:43 +0900 Message-Id: This is a test message. END_OF_MESSAGE require 'net/smtp' smtp = Net::SMTP.start('127.0.0.1', 25) smtp.send_message msgstr, 'somebofy@some.com', 'tobuddy@something.com' smtp.finish Yes my email address are changed.. But even if i give correct mail address. I am not able to send. -- mad jokr --0016e648a77036758404818436c2--