PHP Mail problem in Outlook Express

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yoursanjay
Forum Newbie
Posts: 17
Joined: Sat Feb 23, 2008 12:21 pm

PHP Mail problem in Outlook Express

Post by yoursanjay »

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:

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);
 
Post Reply