From: Parragh Szabolcs Date: 2006-11-19T06:57:54+09:00 Subject: Re: send e-mail -- pickup Paul Lutus �rta: > You aren't being very clear about what you do and don't want, but in any > case, try this: > Thanks for the reply. I would like to do the following steps: 1. Get an e-mail from an account by pop3. 2. Alter the headers in that mail (simple text processing). 3. Send out that same mail to a few dozen addresses that I get form a database. The mail should be the one that was pop3-ed, I must not create a new multipart message. So after the text processing (step 2) I consider the mail text (= ruby string) ready for sending, no further processing needed. For sending. -- I could use Net::SMTP.start..... -- but I don't want to use SMTP on localhost, I'd prefer the pickup transport. -- and I could use: File.popen(/usr/sbin/sendmail, "w") do | pipe | pipe.puts .... .... .... But thought there is a nicer way to do this... Is there? Szab -- Parragh Szabolcs e-mail: parragh@dayka.hu web: parszab.nir.hu