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: [EMAIL PROTECTED]\nX-Mailer: PHP/".phpversion();
mail($Dest,$Subj,$Text,$extra);

Hope this help you
Regards
Darvin


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to