I have a very weird problem. I am using php. In my php code, I wrote the email content and generate 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>
....
Most of the times, it works fine. Then, I receive lots of complaints saying they cant activate, after checking their emails i found this:
<a href="http://www.domain.com/act.php?id=20090=hsdf87hsf89sd">http://www.domain.com/act.php?id=20090=hsdf87hsf89sd'</a>
The "&key" is missing. Anyone know WHY? Very weird bug!!!
EDIT:
The 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 could be right, my email content is html based:
$headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";