Jump to content

Problem with showing a link in a email for outlook express


Shadowing

Recommended Posts

Hey guys im having a problem with emailing a link using local host mail. I'm using out look express with Mercury. I shorten the email below as much as possible.

Its really wierd the target for the link is correct but clicking on it gives me this res ieframe.dll

 

res://ieframe.dll/syntax.htm#http//localhost/stargate/users/account_settings.php?
npd=82b1e0df295ee681f1fa2f213ade823d

 

$to = $_POST['resendemail'];
    	$from = "[email protected]";
    	$subject = "Stargate System Lords Password Recovery";
    	
    			$message = "<html>
    			<body background=\"#4B4B4B\">
    			<h1>Stargate System Lords Password Recovery</h1>
    			Dear ".$users1['name'].", <br>
    			<center>

<a href="localhost/stargate/users/account_settings.php?npd=$new_password ">Log In</a>
    			<p>
    			<br /> 
    			</font>

    			</body>
    			</html>";
   
$headers  = "From: Stargate Game Password Recovery <[email protected]>\r\n";
$headers .= "Content-type: text/html\r\n";

mail($to, $subject, $message, $headers); 

try this for the message bit

 

$message = "<html>\n";
$message .= "<body background=\"#4B4B4B\">\n";
$message .= "<h1>Stargate System Lords Password Recovery</h1>\n";
$message .= "Dear ".$users1['name'].", <br>\n";
$message .= "<center>\n";
$message .= "<a href=\"localhost/stargate/users/account_settings.php?npd=$new_password\">Log In</a>\n";
$message .= "<p><br />\n";
$message .= "</font>\n";
$message .= "</body>\n";
$message .= "</html>\n";

 

that link in the email tho should really point to a domain name I believe not localhost

Thanks for the responce dragon_sa

Tried your approach with the same result

 

I took a picture to help show whats going on

If you look at the bottom of the screen it shows the correct link. If a copy that link and paste it in the browser it works fine. but for some reason as soon as I click Log in on the link it adds  all this stuff before the link which makes it give a white page error

 

res://ieframe.dll/syntax.htm#localhost/stargate/users/account_settings.php?

npd=dda6979aa83d183bb602fb05860849fe

 

 

email.jpg

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.