Jump to content

help with email sending


syntax101

Recommended Posts

my code in php

<?php

 

mail("[email protected]","hai","hai","[email protected]");

 

?>

 

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing

 

i have an error can anyone help me with this

 

this is the code from my php.ini

[mail function]

; For Win32 only.

SMTP=smtp.mail.yahoo.com

smtp_port=25

 

; For Win32 only.

sendmail_from = [email protected]

Link to comment
https://forums.phpfreaks.com/topic/88674-help-with-email-sending/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.