On Wed, 2010-09-08 at 17:11 -0300, Diego Lima wrote: > Hi Dieter, > > I think I might have badly expressed myself :) The files on the disk > still need to be sent to the addresses in the "To" field. They have > simply been generated using an external program that can't talk smtp > directly with my postfix server and needs it to pick up and deliever > the messages. >
I do a similar thing using perl and MIME::Lite. You'll have to parse the file to split the to/from and message body - then send. There are other perl modules related to sending email, MIME::Lite fit my needs. Vernon