I have an application who use the mail instruction to send a mail at a specific adress, this works properly on my PC with Easyphp server and the same instruction don’t send anything with 000webhost. I see that there are a lot of question about. But no response !!! Is that function supported on your site ?? In the past the same where put on OVH and it worked properly
Sorry, but the switch Sendmail is on, i have turn off and then on again. The statistics page said that i have send 1 message and is not thru because i have made 4 or 5 test. Each time my program said ‘mail is sent’ but i always received nothing. Yesterday i have try with an other mail box and the result is same. The messages do’nt arrived !!!. after a few time statistics indicate the right number of sent mail. at other side i don’t see the mail and there are not in the junk email box !!!
Do you use the php.ini to make run our programs ?
I have read my php.ini and i see i have made some change at the level mail function, i have setup a value smtp to define the provider i use to send mail. That is may be the answer at the problem i met with my application on your server !!!
I will open a new mail box on hotmail and copy your instruction in my index program to send data to this new mail box. When my test are done i will give you a feedback
sory i have made a mistake my box is pmasure40 and it seems now i receive some message. I check with the normal application and you a feed back as soon as possible
Ok it work if i use
if (mail($to,$objet,$texte))
echo “
”.reussi_mail."
";
but i my program i use
if (mail($to,$objet,$texte,$headers))
and with instruction i don’t received the mail on gmail
so now i will first make a test on an other mail box wihtout $headers to see if it work also. Then i will reread the way to use $headers but i know that with my local easy php it work
If i have time this afternoon i will come back with the information