I am having a problem with the mail() function with sending formats and rules.
Below is the code that is used to create the message. There must be something in the "body" of the e-mail that is causing the problem as I have tried every other option and they have all worked.
Certain users with certain ISP's will only receive the first portion of the message and it will not contain the link. This leads me to believe that there is something in the body area that causes certain mail servers to stop reading the message.
It is not anything to do with the sending side. It is the receiving sides mail server that is causing the problems.
Please give me any advice possible.
code is below:
$confirmer = $thanks["confirmoptmesg"];
$murl = $thanks["murl"];
$lines = "------------------------------";
$linkconfirm = "$murl/box.php?e=$email&funcml=csub&nl=$something";
$message = "Our mailing list requires that you confirm your subscription.";
$message = "$message\n\r\n\rImportant:\n\r$lines\n\r$confirmer\n\r\n\rTo confirm your subscription, visit: \n\r$linkconfirm\n\r$lines";