Re: send mail error
| From: | Craig | Date: | Thu, 20 May 2004 13:31:10 +0000 |
| Subject: | Re: send mail error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186583@lists.php.net to get a copy of this message | ||
On windows I believe this will work:
ini_set("sendmail_from",foo@foobar.net);
Try that. http://www.php.net/ini_set
HTH
Craig
"Tassos T" <nereus0@freemail.gr> wrote in message
news:40ACABA6.1050409@freemail.gr...
> hello,
>
> i face a problem with send mail via php.
> i have a server with ms IIS and i have not access to php.ini
> how i send a email with php script with auto add the sendmail_from into
> php.ini ?
>
> PS. i write a php script to send email but i receive the follow error
> message
>
> mail(): "sendmail_from" not set in php.ini or custom "From:" header
> missing in *.......
>
>
> *please advise
>
> Thanks
>
> Tassos