I solved this using
ini_set("sendmail_from", "[EMAIL PROTECTED]");
and
ini_set("SMTP", "mail.server");
everytime i needed to use mail().
"Ignacio DomíNguez" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
accessed the script)
> $_SERVER["REMOTE_ADDR"]
> File that was accessed (and directory)
> $PHP_SELF
> Name of host (e.g. localhost from http://localhost/page.php
> $_SERVER["HTTP_HOST"]
>
> - Original Message -
> From: "Ignacio Domínguez" &l
this possible?
Thanks in advance
Ignacio Domínguez
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I get the following error every time I send mail.
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or
custom "From:" header missing
using this code:
mail("[EMAIL PROTECTED]", "Subject", "This is the text", "From: [EMAIL PROTECTED]");
i have configured my php.ini to read "se