Hello,
I'm facing problem in email by using php script.
Here's my php.ini configuration
[mail function]
; For Win32 only.
SMTP = smtp.streamyx.com
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
The SMTP server name is the one given by my ISP provider and I have SMTP software installed in my laptop.
here is my firstmail.php script
<?php
mail("xxxx@hotmail.com","Hello","Testing");
?>
If I run firstmail.php in the browser, it returns
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\wamp\www\firstmail.php on line 2
Could someone tell me what am I missing? Thank you.
Best regards,
Anise