R: [PHP-WIN] PHP Mail / PHP.ini

From: Date: Wed, 16 Jan 2002 11:38:44 +0000
Subject: R: [PHP-WIN] PHP Mail / PHP.ini
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11471@lists.php.net to get a copy of this message
Paul wrote ... > When trying to configure the ini file to accomodate email, I rightly or > wrongly edited the 'php.ini-recommended' file to my SMTP entry to: > These are "suggested" configuration. You may use one of them and configure it to match your requirement. About mail parameter, I haven't notice any difference. > [mail function] > ; For Win32 only. > SMTP = xxx.xxx.xxx.xxx (where xxx is my valid mail server IP) > Ok > I saved this and also saved it as php.ini in c:\PHP (again, rightly or > wrongly). > Put php.ini in your Windows directory and remove any other php.ini from your system. > With the PHP code - mail($address, $subject, $message); - where the 3 > variables ARE valid, the mail is NOT sent and I am given the warning: > I use 4 parameter in mail statement in my script: $extra="From: sender@myserver.it\nX-Mailer: PHP/".phpversion(); mail($Dest,$Subj,$Text,$extra); Hope this help you Regards Darvin

« previous php.windows (#11471) next »