From: David Vallner Date: 2006-02-23T09:52:27+09:00 Subject: Re: Simple mail send ... CGI or ActionMailer ? Dňa Streda 22 Február 2006 16:23 John N. Alegre napísal: > Again a followup question. > > Am I right here .... > > RubyMail and TMail would give me methods to parse my text into a mail > object but then I would then still use net/smtp to send that mail object > out as email? Are the mail objects produced by RubyMail or TMail > compatible with sending with net/smtp? > You don't need to remember the SMTP format with the headers and stuff, that's all. It's a slightly less hackish way of going on about things, and as a bonus, you'll know how to use it if you ever wish to send multipart messages which are arguably more difficult to encode by hand. You can do all manners of things with the TMail and RubyMail objects, but you probably want to call #to_s on those, which gives you the message prepared for sending with SMTP. David Vallner