Satish Talim wrote: > t.puts 'DATA' > puts t.gets > t.puts 'Test Email from Ruby' > t.puts "\r\n.\r\n" Ok, so obviously you're not sending a normal RFC-822 header here. Is it possible that your SMTP server is so strict about this that it closes the connection silently? -- Posted via http://www.ruby-forum.com/.