Hello Everyone,
I have a problem with a script for sending email. I have php scripts writtern in php for sending email when some submit the form. the script is as follows.
When I use it on php 5 it is working properly. However when I use it on lower version which is php 4.3.10. is giving me the following error.PHP Code:mail($adminemail, "TICKET SUBMITTED BY $LnameandFname", "$message", "From:$zramail2\n");
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in d:\apache\htdocs\ims\ticketsystem\type_in_ticket2.php on line 175
How can I solve this problem??
Your help will be highly appreciated.
Thanks




Bookmarks