Hi,
I try to use the mail function and override the sendmail_from (under Win 2K and PHP 4.1.).
Here's my php.ini
[mail function]
; For Win32 only.
SMTP = mail.mydomain.com
; For Win32 only.
sendmail_from = dvdw@mydomain.com
My php code
$Subject = "Publication : ";
$Body = "Line1\r\nLine2\n\rLine3";
$Destination = "Me@hotmail.com";
$From = "Webmaster@mydomain.com";
$email = mail ("$Destination","$Subject","$Body", "from : ".$From);
What I receive with my mail client
Subject: Publication
From: dvdw@mydomain.com, Webmaster@mydomain.com
To: Me@hotmail.com
Question how can I override the sendmail_from ?
Thank you in advance
Dominique