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 = "stargate@localhost.com";
    	$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 <stargate@localhost.com>\r\n";
$headers .= "Content-type: text/html\r\n";

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.