PHP MAIL() stopped working


#1

Hello, I have been having an issue where the mail() function in php isn’t working no error, no mail. please help

Email script link -> https://sahilsejpal.000webhostapp.com/send_email4.php


#2

What is the code you are using?


#3

Hi @sahil_sejpal

It might be an error in your script. When I go here… https://sahilsejpal.000webhostapp.com/send_email4.php it shows “error”

The reason is your script requires a POST request with type and many data. Please check that again


#4

hello supun,

My code is working fine as all the data is been inserted properly in the dB but emails are not going. As I have tested code in local.


#5

There might be errors in email sending. Our developers are off these days. You have to wait until the new year starts.

Or simply upgrade to hostinger

We are really sorry for the inconvenience.


#6

hello still the problem has not been solved.