I have to send a email to a server where is very important the "Return-Path" to match the identity.
If I use mail("[EMAIL PROTECTED]", "object", $message,"From: [EMAIL PROTECTED]". "Reply-To:[EMAIL PROTECTED]" ."Return-Path: [EMAIL PROTECTED]);
I see in the received message that return-path Is not that I want.
I try to use the fifth parameter ( "[EMAIL PROTECTED]) but I am in safe mode then I see the warning : the fifth parameter is disabled in safe mode. There is a workaround for this problem ? safe_mode = on is impossible for this server !
You need to connect to smtp server (port 25) and send the mail this way. There are classes that will help you, e.g. smtp_mail class from http://phpclasses.org/mimemessage
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php