Website Coding

Stuck on a line of code? Find resources and post your coding questions here.

Forum Sponsor (Advertise with us)
Reply
 
Thread Tools Display Modes
    #1 (permalink)  
Old 02-29-2012
Your Virtual Wizard's Avatar
Your Virtual Wizard Your Virtual Wizard is offline
Community Leader
Company name: Your Virtual Wizard
 
Join Date: Sep 2008
Location: Florida-Gulf Coast
Posts: 2,489
Blog Entries: 6
Send a message via AIM to Your Virtual Wizard Send a message via Yahoo to Your Virtual Wizard
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Question Looking for html code for 'forward to a friend'
Hello,

I am interested in adding the phrase 'forward to a friend' in an email newsletter template written in html.

The newsletter will come through initially, as with any broadcast into the recipient's email client so I believe the code will simply forward and open up a new email and allow the user to insert the email address of the friend.

Can anyone offer that html code, please?

Just to be certain...I will need this to open in any email client such as Gmail and Outlook.

Thank you.

Janine
__________________
Write that Winning RFP The Job of Ur VA Dreams http://bit.ly/ZJfatV
Reply With Quote
    #2 (permalink)  
Old 02-29-2012
leedrozak's Avatar
leedrozak leedrozak is offline
Community Leader
Company name: My Office Assistant
Small Business Practical Times: What is a Joint Partnership?
 
Join Date: Aug 2008
Location: Western Pennsylvania
Posts: 2,988
Blog Entries: 13
Send a message via Yahoo to leedrozak
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+ Find this virtual assistant on YouTube
Default Re: Looking for html code for 'forward to a friend'
Try this:

Replace the bolded text with your content:

<a href="mailto:?Subject=anything for subject line&body=anything text in the body of the message #[FFLINK]#">Forward to a Friend</a>
__________________
Lee Drozak
WHY GO IT ALONE?... I am here to help you get unstuck.
Reply With Quote
    #3 (permalink)  
Old 02-29-2012
vrsi-office's Avatar
vrsi-office vrsi-office is offline
Active Member
Company name: Virtual Resource Services, Inc.
 
Join Date: Jan 2010
Location: Arizona
Posts: 714
Send a message via ICQ to vrsi-office Send a message via AIM to vrsi-office Send a message via MSN to vrsi-office Send a message via Yahoo to vrsi-office
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Default Re: Looking for html code for 'forward to a friend'
You can also add a blind cc like the following:

<a href="mailto:?subject=Subject&body=C heck out this great newsletter at: http://va.com&bcc=va@va.com">Forward to a friend</a>

Add attachments are restricted for security reasons with Outlook client.
__________________
Julie | Virtual Resource Services, Inc (VRSI)
http://www.vrsioffice.com
Reply With Quote
    #4 (permalink)  
Old 03-01-2012
Your Virtual Wizard's Avatar
Your Virtual Wizard Your Virtual Wizard is offline
Community Leader
Company name: Your Virtual Wizard
 
Join Date: Sep 2008
Location: Florida-Gulf Coast
Posts: 2,489
Blog Entries: 6
Send a message via AIM to Your Virtual Wizard Send a message via Yahoo to Your Virtual Wizard
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Default Re: Looking for html code for 'forward to a friend'
Thank you Lee and Julie! I appreciate this very much!

Janine
__________________
Write that Winning RFP The Job of Ur VA Dreams http://bit.ly/ZJfatV
Reply With Quote
    #5 (permalink)  
Old 03-01-2012
vrsi-office's Avatar
vrsi-office vrsi-office is offline
Active Member
Company name: Virtual Resource Services, Inc.
 
Join Date: Jan 2010
Location: Arizona
Posts: 714
Send a message via ICQ to vrsi-office Send a message via AIM to vrsi-office Send a message via MSN to vrsi-office Send a message via Yahoo to vrsi-office
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Default Re: Looking for html code for 'forward to a friend'
Janine,

Note: using the mailto command does require that the person clicking the "Forward to a friend" has a email client installed on their computer. (If utilizing lets say a public computer, they may not have a mail client installed.)

Another option is to use a form and a php mail sript.

Sample Form code (to go on page where newsletter is found):
<form name="forwardnewsletter" action="forwardnewsletter.php" method="post">
<strong>Share with a friend. </strong> <br />
To send a copy of this newsletter to a friend please type the email address of the person you would like to forward this newsletter to below:
<br />
<input type="text" name="email" />
<br />
<br />
Please type your friends name below:
<br />
<input type="text" name="name" />
<br />
<br />
<br />
<br />
Please type your name below:
<br />
<input type="text" name="yourname" />
<br />
<br />
Please type your email below:
<br />
<input type="text" name="youremail" />
<br />
<br />
<input type="submit" name="submit" value="Forward Newsletter" />
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>

Sample php mail script (to go in new php page named forwardnewsletter.php):
<?php
$email = addslashes(strip_tags($_POST['email']));
$yourname = $_REQUEST['yourname'];
$name = $_REQUEST['name'];
if (mail($email, $subject='Check out this great newsletter', $message='Your friend thought you might like a copy of our newsletter. You can check out this great newsletter at: http://www.vrsioffice.com.', 'From: info@vrsioffice.com')) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>

Make sure to change the email address after From to your company email address.


Another simpler method that does not require you to know code is to use a form generator like JotForm (http://www.jotform.net). With this you can create the form and generate the email with very little effort.

Hope this helps,

Julie
__________________
Julie | Virtual Resource Services, Inc (VRSI)
http://www.vrsioffice.com
Reply With Quote
    #6 (permalink)  
Old 03-01-2012
Your Virtual Wizard's Avatar
Your Virtual Wizard Your Virtual Wizard is offline
Community Leader
Company name: Your Virtual Wizard
 
Join Date: Sep 2008
Location: Florida-Gulf Coast
Posts: 2,489
Blog Entries: 6
Send a message via AIM to Your Virtual Wizard Send a message via Yahoo to Your Virtual Wizard
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Default Re: Looking for html code for 'forward to a friend'
Great options, Julie! I've bookmarked your responses.

Thank you so much!

Janine
__________________
Write that Winning RFP The Job of Ur VA Dreams http://bit.ly/ZJfatV
Reply With Quote
    #7 (permalink)  
Old 03-02-2012
dognose's Avatar
dognose dognose is offline
Active Member
Company name: Laserdog Productions
 
Join Date: Jan 2009
Location: Lafayette, CO
Posts: 897
Default Re: Looking for html code for 'forward to a friend'
I've bookmarked it too. Thanks, Julie!
__________________
Lezly Harrison
Laserdog Productions - Code that Doesn't Bite
Reply With Quote
    #8 (permalink)  
Old 03-08-2012
Your Virtual Wizard's Avatar
Your Virtual Wizard Your Virtual Wizard is offline
Community Leader
Company name: Your Virtual Wizard
 
Join Date: Sep 2008
Location: Florida-Gulf Coast
Posts: 2,489
Blog Entries: 6
Send a message via AIM to Your Virtual Wizard Send a message via Yahoo to Your Virtual Wizard
Follow this virtual assistant on Twitter Find this virtual assistant on Facebook Contact this virtual assistant on LinkedIn Find this virtual assistant on Google+
Default Re: Looking for html code for 'forward to a friend'
I have another question, Julie and Lee...

The newsletter is being sent from 1shoppingcart which does not store newsletters.

It appears that I have to create the newsletter, upload it to a place on the website, go into the newsletter again, add the link where the newsletter is located, and then publish the newsletter in order for the Forward to a Friend link to work.

Is that so?

Thanks,
Janine
__________________
Write that Winning RFP The Job of Ur VA Dreams http://bit.ly/ZJfatV
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
what to look forward to tg180078 General Client Relations 5 02-15-2009 10:46 AM
Commenting out bits of code in HTML (don't erase it, just hide it) Tess Website Coding 4 03-06-2008 10:41 AM
Mailto HTML code that includes subject line automatically Tess Website Coding 0 02-18-2008 05:57 PM


All times are GMT -4. The time now is 03:13 PM.

Virtual Assistant Forums Advertising
Featured VA websites:

Robin Bellows Consulting

ActVA!

LadyPA Professional Administrative Services, LLC.
Get featured!
Bankruptcy Virtual Assistant Training
Virtual Assistant Forums Advertising
Create a Professional New Client Welcome Packet
Virtual Assistant Forums Advertising
Work from Home | Become A Virtual Assistant

© Virtual Assistant Forums 2013 Content and images protected under copyright law.
Google+ - Facebook - Twitter