Skip to main content
New Participant
October 21, 2015
Question

mailto: hyperlink opens blank page on site?

  • October 21, 2015
  • 2 replies
  • 6504 views

Created a website in Muse CC. On some of the pages I have a hyperlink to mailto:. But when I open the live site and click on the hyperlink, along with my mail program, a blank new page opens in the site. If I hit the back button it goes to the home page. Help!! (Yes, newbie here)

    This topic has been closed for replies.

    2 replies

    Jon Fritz
    Community Expert
    October 21, 2015

    Chances are you've accidentally included a blank target in the links. Take a look at your source code for your mailto links and remove this if you see it...

    target="_blank"

    For what it's worth, mailto links are a bad way to get viewers to contact you. Nothing happens when anyone who doesn't use Outlook, Apple Mail or another dedicated email client clicks the link. It's much better to either just give them the email address without a link, or use a server-side form to email script instead.

    jandbjAuthor
    New Participant
    October 21, 2015

    I'm totally lost, I'm sorry. I am using Adobe Muse CC. Is there something in the program I can use to let people email?

    Rob Hecker2
    Brainiac
    October 21, 2015

    Is there something in the program I can use to let people email?

    I'm not familiar with Muse, so I can't answer that. It would be a good question for the Muse forum.

    Rob Hecker2
    Brainiac
    October 21, 2015

    You need to show us the code.

    By the way, no one ever uses mailto any longer. It only works if the user has a mail client set up on their computer, which is often not the case. Usually people use the PHP mail function.

    jandbjAuthor
    New Participant
    October 21, 2015

    Ok I guess I'm really behind the times then... What is the PHP mail function?