I have a very strange problem. I use PHP, in my PHP code I wrote the content of the email and created this link:
.... <a href="http://www.domain.com/act.php?id=' . $userid . '&key=' . $actkey . '">http://www.domain.com/act.php?id=' . $userid . '&key=' . $actkey . '</a> ....
In most cases, it works fine. Then I get a lot of complaints saying that they cannot be activated. After checking their emails, I found this:
<a href="http://www.domain.com/act.php?id=20090=hsdf87hsf89sd">http:
Missing "& key". What for? Very strange mistake !!!
Full PHP command:
$content = '<div style="font-family:Calibri; color:#333;"> Hi there, <br><br> Thank you for register to our website, click the following link to activate your account:<br><br> <a href="http://www.domain.com/act.php?id=' . $userid . '&key=' . $actkey . '">http://www.domain.com/act.php?id=' . $userid . '&key=' . $actkey . '</a><br><br> XXX Team</div>';
Gumbo may be right, my email content is HTML based:
$headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
source share