Jump to content

Open emails in current window


ShaolinF

Recommended Posts

Here you go:

 

<?php

$to = "Username <[email protected]>"; 
$subject = "Thank you for your email";
$headers = "From: Sender <[email protected]>\n";
$headers .= "MIME-Version: 1.0\n"; 
$headers .= "Content-type: text/html; charset=iso-8859-1\n"; 
$headers .= "Reply-To: Sender <[email protected]>\n"; 
$headers .= "X-Priority: 1\n"; 
$headers .= "X-MSmail-Priority: High\n"; 
$headers .= "X-mailer: My mailer"; 

$message .=  '<a href="http://www.google.com">http://www.google.com</a>';

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

?> 

ohh your saying when u recive the email  on your hotmail you want the link u sent to your self to be opened in the hotmail window! gotcha

try makeing the link

$message .=  '<a href="http://www.google.com" target="_self">http://www.google.com</a>'; 

Your e-mail client is probably forcing a new window. There's most likely nothing you can do about it. From an IA perspective, it's annoying to click a link and have the page redirect. I'd be upset if I wasn't done reading my mail, clicked a link, and lost my inbox. ;)

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.