Hi Manuel, > > 1) I can't get the From header right, when I receive the test mail the > > sender is apache > > There is From: and From . From is not a real header. It is just set by > some MTA to the return path address and is also used as separator in > mailbox files with multiple messages in the mbox format. > > If you can set the Return-Path address, you will most likely change what > appears in the From header. I forgot to mention that I can't set the return-path either. > You may want to try this using the MIME message composing and sending > class, that lets you set the Return-Path header and can also detect the > right line break sequence for your platform. > > http://www.phpclasses.org/mimemessage > That's a good idea, but I would still like to know what I am doing wrong in my own script. Thanks for your help > > Regards, > Manuel Lemos > > Metastorage - Data object relational mapping layer generator > http://www.metastorage.net/ > > PHP Classes - Free ready to use OOP components written in PHP > http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php