I am trying to use the mail() function. However get this error on execution:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in E:\domains\n\mywebsite.co.uk\user\htdocs\test.php on line 1
I am currently using fasthosts as my web hosting service. Because of this i can't access the php.ini file to make the necessary changes.
Is there any other way of doing this?
Thanks in advance.


Reply With Quote
Bookmarks