php mail() php function works in all browsers, and in IE8 function works without issuing errors, but the email sent does not appear in the mail. What kind of bug?

  • four
    Are you sure that IE is to blame, not a Chelyabinsk meteorite? - fStrange pm
  • Yes, it was a meteorite.)) - Deus

1 answer 1

IE8 has nothing to do with it. The mail () function doesn’t really matter from which browser you caused the processing of your php script, this php script is still performed by the php interpreter.

Perhaps the letter does not reach the server due to the wrong header'a or due to the fact that your server is not trusted or due to the fact that your letter seemed to be spam.

There are lots of options. You can also look in the logs. Maybe there is something important written about this.

  • Simple script. Just mail ("myPost@gmail.com", "subject", "message", "From: me"); Checked in Mozille, Opera, Safari, Chrome. On the mail - all the letters sent, IE - in any. Ok, this is Denver, on a real hosting, at least there won't be such a problem? - Deus
  • 3
    no relation to browsers pkhp imeeeeeet! remember it! pkhp is carried out on the SERVER !!! mail () is also running on the server! no matter what device the person came from ... read what php is - thunder
  • I agree with this and I know it myself, therefore I asked the question. Himself in shock. Now check again. In Denver, I changed the SMTP server to send emails to real mail. And here is the result. Maybe in the settings of IE? - Deus
  • All figured out. The mail () function does not return an error if the message content itself is empty. In this case, mail returns true, but the letter itself is not sent. - Deus
  • use better than others, for example PEAR Mail :) - thunder