   [web] Location: mailto
  Different browsers seem to implement Location: mailto in a variety of ways. I have a CMS that lets the user set up a page to redirect somewhere else; currently this allows them to choose to redirect to a page on the website, an external URL or an email address, using header('Location: mailto:example@example.com');.Opera keeps the user on the page they were on previously, but launches the email client (this is the expected behaviour).Firefox keeps the user they were on and launches the email client as before, but also inserts Object Moved This document may be found here at the top of the page.Internet Explorer launches the email client twice and displays a blank page in the browser.Is there a way to persuade Location: mailto to work sensibly, or should I look for an alternative strategy (e.g. when generating the link to the redirecting page, check if it's going to an email address and if so emit a regular mailto: hyperlink)?   
Quote:Original post by benryvesIs there a way to persuade Location: mailto to work sensibly, or should I look for an alternative strategy (e.g. when generating the link to the redirecting page, check if it's going to an email address and if so emit a regular mailto: hyperlink)?I think this is the most sensible thing to do.