Not Solved [Mail] [PHP Mail] Mail sending in test script but not for forum.
#1
Not Solved
I had this issue with a previous host; I moved one of my sites to A2Hosting but still having issues with PHP Mail. I'm struggling here and just not sure what else to try



Can't activate accounts or reset password via PHP mail handler.

Tried the mail test script and it sends BUT it doesn't send from the email addressed as the "Admin Email" in board settings. Email is sent from [email protected]

Went further to the host restrictions part and the "mail($to, $subject, $message, $headers);" doesn't exist in functions.php but i did find
function my_mail($to, $subject, $message, $from="", $charset="", $headers="", $keep_alive=false, $format="text", $message_text="", $return_email="")
So I added the ini_set parameters above that line.

Still no luck. I'm sort of confused here. Am I doing this incorrectly?

A2 keeps sending me to: https://www.a2hosting.com/kb/developer-c...l-messages
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)