PHP Mail problem in Outlook Express
Posted: Sat Feb 21, 2009 1:35 am
I have a php mail script & it works properly but whenever I send a mail (including any weblink) & the receiver receive the mail from Outlook Express, he sees the link properly but onclick of that link a diff string is addded before that link in the browser:
in Outlook mail the link: http://www.test.com/manuallysubmit/activation.php
onclick of this link it appears as: res://ieframe.dll/syntax.htm#www.tes...activation.php
How to remove "res://ieframe.dll/syntax.htm#
" string from the URL? But in any other email like gmail,yahoo there is no such problem.
The script is given below:
in Outlook mail the link: http://www.test.com/manuallysubmit/activation.php
onclick of this link it appears as: res://ieframe.dll/syntax.htm#www.tes...activation.php
How to remove "res://ieframe.dll/syntax.htm#
" string from the URL? But in any other email like gmail,yahoo there is no such problem.
The script is given below:
Code: Select all
$to='info@test.com';
$subject="test.com: Registration Details";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= "From:Manually Submit <'admin@test.com'>" . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$link="www.test.com/manuallysubmit/activation.php";
$message="<a href='".$link."'>".$link."</a>";
mail ($to,$subject,$message,$headers);