[Tmail-talk] simple question, I think

Peter Bailey
2008-01-16T20:07:56Z

Hello,
I''m very green with regard to any Ruby mail stuff. I posted
a request on the Ruby forum to get some information on doing
a simple e-mail with an attachment. A nice guy responded
with a huge class that he''d made, just for mailing, using
net/smtp. But, I can''t figure it out. So, I''d like to try
tmail.

Nowhere in the doc do I see anything about sending an
attachment. Can someone please help me to create a mailing
template for the following?

   from:          someguy at bna.com
   to:                  pbailey at bna.com (that''s me)
   subject:       "This is a test."
   message:       "blah, blah, blah"
   attachment:    c:\stufftext.pdf

   smtp server:   mail.bna.com (xx.xx.xx.xx)

Thanks a lot,
Peter