One Click to Forward Newsletter

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
sokka888
Forum Newbie
Posts: 11
Joined: Sun Jan 18, 2009 7:44 pm

One Click to Forward Newsletter

Post by sokka888 »

Hi Experts,

I have a newsletter that is sent to different email clients. I have an link in the email asking to click to forward the newsletter to their friends. When the user clicks on the forward-email link on the newsletter, it should open a email window of the default email client with the subject and body should have the same contents as the newsletter. How can I accomplish this?

Is there a easier way than just using the mailto: component.? Because I do not want to reput the entire email in the body tag of the newsletter.


thanks guys
Sokka
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: One Click to Forward Newsletter

Post by Burrito »

<a href="mailto:whoever@whatever.com?subject=whatever&body=this%20is%20my%20body">send mail</a>
sokka888
Forum Newbie
Posts: 11
Joined: Sun Jan 18, 2009 7:44 pm

Re: One Click to Forward Newsletter

Post by sokka888 »

Thanks Burrito, :)

for the reply, Will it be possible to send the user to a page (when they click on the newsletter forward-email link) which automatically sends the opens the email client with the newsletter in the body to forward?

can this be achuved using JS?

thanks again Burrito
sokka888
Forum Newbie
Posts: 11
Joined: Sun Jan 18, 2009 7:44 pm

Re: One Click to Forward Newsletter

Post by sokka888 »

How may charactres can be sent body part of a mailto: component?

thanks guys
User avatar
volomike
Forum Regular
Posts: 633
Joined: Wed Jan 16, 2008 9:04 am
Location: Myrtle Beach, South Carolina, USA

Re: One Click to Forward Newsletter

Post by volomike »

sokka888 wrote:How may characters can be sent body part of a mailto: component?
Varies by browser vendor. Only testing will show you. You'll have to build two Windows workstations or virtual machines, I'm afraid. On one, install XP (with all the latest service packs), IE6 (with all the latest service packs), Opera (second-to-last version), Safari (second-to-last version), Chrome (second-to-latest version), and FF2. On the other, install XP or Vista (with all the latest service packs), IE7 (with all the latest service packs), Opera (latest), Safari (latest), Chrome (latest), and FF3. Usually if you do your testing with Safari on Windows, it usually carries over to the Mac. That's not a guarantee, but is more and more the case these days. Otherwise, purchase a mini-mac for testing Mac stuff too.
sokka888
Forum Newbie
Posts: 11
Joined: Sun Jan 18, 2009 7:44 pm

Re: One Click to Forward Newsletter

Post by sokka888 »

thanks volo :)
Post Reply