Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forward link in HTML email

I need to create a "forward to friend" link in a HTML email that will mimic the forward button on the mail client (ie launch a new window with a pre-filled body), is this possible?

ie:

<a href="forward-action">Forward this email to a friend</a>

If not, what's a simple approach to achieve an as similar as possible result?

ps. I'm aware this is pretty much pointless functionality, it's a request from client.

like image 318
Marty Avatar asked Sep 27 '11 23:09

Marty


People also ask

How do I forward a link in HTML?

The simplest way to redirect to another URL is to use an HTML <meta> tag with the http-equiv parameter set to “refresh”. The content attribute sets the delay before the browser redirects the user to the new web page. To redirect immediately, set this parameter to “0” seconds for the content attribute.

How do I forward an email in HTML?

You can apply the following settings to forward the message in HTML format: “Settings” -> “Preferences” tab -> “Composing Messages” -> “Compose HTML messages” -> Select “on forward or reply to HTML message” under “Compose HTML messages” and save.


2 Answers

I wonder if your client would go for this:

  1. create a jazzy Forward to a Friend button.

  2. that button should open up a page on the client site.

  3. that page should contain an email a friend form.

Much easier to accomplish.

like image 116
Jason Gennaro Avatar answered Oct 30 '22 16:10

Jason Gennaro


You cannot imitate or initiate the forward action in any mail client (web or desktop) currently on the market today. You have several other options available though:

  • Offer an online version of your email and include a link to it in your mailto tag:

    <a href="mailto:Enter%20an%20email?subject=Your%20Subject%20Line&body=Thought%20you%20might%20be%20interested%20in%20this%20http://www.yourdomain.com">
    Forward to a friend</a>
    
  • Include a callout in your email (near the top, preferably) encouraging your recipients to forward the message to their friends.

  • Include a link to a web form where your recipients can provide other people's email addresses and send these new email addresses copies of the mailing. (The only issue with this one is that the recipient's address book is not available to them easily, which probably hinders sharing - test to know what your demographic is like).

like image 33
Sean Vieira Avatar answered Oct 30 '22 15:10

Sean Vieira