i try this it seems to work but i reseve error message like that :

SMTP server response: 553 sorry, relaying denied from your location

i heve windows server

please advise

tassos















Craig wrote:

On windows I believe this will work:

ini_set("sendmail_from",[EMAIL PROTECTED]);

Try that. http://www.php.net/ini_set

HTH

Craig

"Tassos T" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


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






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to