I did som searching on the forum and found that alot of people had problems with there mail() functions. So do I.
I just got my accout today and upgraded my php version to intermediate to uesr the mail() and include functions. I got the confirmation mails and i thought everything was fixed.
Thought it tells me that it should work, it doesnt.
I just uploaded the most basic php mailscript and tried it out and get this message:
Warning: mail() has been disabled for security reasons in /home/moezzie/public_html/sendmail.php on line 3
Do i have to enable the function in my cPanel somehow or should it work right away?
This is pretty much all there is in my file:
I really dont know what the problem is so im just gonna lte you guys figure this one out.
Thanks!
I just got my accout today and upgraded my php version to intermediate to uesr the mail() and include functions. I got the confirmation mails and i thought everything was fixed.
Thought it tells me that it should work, it doesnt.
I just uploaded the most basic php mailscript and tried it out and get this message:
Warning: mail() has been disabled for security reasons in /home/moezzie/public_html/sendmail.php on line 3
Do i have to enable the function in my cPanel somehow or should it work right away?
This is pretty much all there is in my file:
PHP:
mail("myemail@somehost.com","hello", "it worked!");
Thanks!
Last edited: