Hi,
I’ve a problem since a week.
I can’t figure out how to make the mail() function works !
The script echo “worked” but no mail is sent. Even in control panel it says i have 0 mails sent.
Can someone help me?
Thank you
Hi,
I’ve a problem since a week.
I can’t figure out how to make the mail() function works !
The script echo “worked” but no mail is sent. Even in control panel it says i have 0 mails sent.
Can someone help me?
Thank you
Hi @franckydesf1
Please remove X-Mailer
header and retry.
Thank you for your answer teodor.
Finally it worked.
It also works by removing the Xmailer.
However, mails are in the spam folder.
Check them using proprietary mail app. Example: Gmail for gmail or YahooMail for yahoo.
It couldn’t see them in native W10 mail app.
It also works by removing the Xmailer.
Removing that header should fix the spam issue, at least for some mail providers.
Because 000webhost is being abused, some companies decided to block our mailing servers, or throw the emails sent from our infrastructure into spam. There isn’t much we can do about this. You can try to create another website and send emails from there instead. However I don’t guarantee it will solve the problem.
Using SMTP would be better using a real email address no?
it’s okay it’s nothing official just a sending mail test.
I am a noob in sending email through php, I did the easiest way.