I have lots of experience but cannot explain this

Hello
Although I have extensive experience I cannot expalin this.
A client of mine has en email address that cannot be send inside an email.
Here is the program (I must list my client’s address for the test, please do not use or misuse it):

[php]<?php
$your_email = "[email protected]"; // Put here your own email

// All messages get sent except number 2
mail($your_email ,“Subject 1”,“Message”);
mail($your_email ,“Subject 2","[email protected]”); // This message never gets sent. Do you know why???
mail($your_email ,“Subject 3”,“Message”);
mail($your_email ,“Subject 4”,“massimo@impresa_baietti.com”);
mail($your_email ,“Subject 5”,“Message”);
mail($your_email ,“Subject 6","[email protected]”);
mail($your_email ,“Subject 7”,“Message”);
mail($your_email ,“Subject 8","[email protected]”);
mail($your_email ,“Subject 9”,“Message”);

// Please do not misuse the real email (Subject 2)
// The owner of the email address knows nothing of this problem
?>[/php]

Are you sure it’s not just going to the spam box? Many email issue arise from the misuse or non-existent use of the correct mail headers. Most email programs will automatically flag emails as spam when they don’t contain the correct header info to make a clear determination of what the email is and where it came from. Google about php email headers and start there. The best way is to use a premade library like phpmailer which contains all the correct headers and other important stuff to send a proper email.

Those domains the email end in impresacaietti.com etc.

DNS Lookup

Has no MX or A record as indicated by Unlock The Inbox, so your email server can’t send the mail out because their is no place to send it. In order to receive email you must have a MX or A record that has a Receiving mail server setup.

Sponsor our Newsletter | Privacy Policy | Terms of Service