a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Link for Email To Friend

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Link for Email To Friend
Page: [1]
 
philoso

 

Posts: 1
From: None
Status: offline

 
Link for Email To Friend - 3/14/2001 20:05:00   
I'd like to set up a link for people to EMAIL A FRIEND THIS SITE. Does FP2000 have an easy way to do that? If not, where can I get that script? Thanks
KevinB

 

Posts: 14
From: Mission Viejo, CA USA
Status: offline

 
RE: Link for Email To Friend - 3/14/2001 23:53:00   
I use this script below to send any auto-response type emails that are generated from our website:

<%
sFrom = "Somebody@Somewhere.com"
sTo = Request.Form("email")
sSubject = "Check Out This Cool Website"
sBody = "Check Out My Website At http://www.yourdomain.com

Set myCDONTSMail = CreateObject("CDONTS.NewMail")
myCDONTSMail.BodyFormat = 0
myCDONTSMail.MailFormat = 0
myCDONTSMail.Importance = 1
myCDONTSMail.Send sFrom,sTo,sSubject,sBody
Set myCDONTSMail = Nothing
%>

This script must be placed on an .asp page. Have a form where the user can put in there friend's email address and have that form post to the .asp page w/ the above script on it (notice I named the form field for email, "email" and just requested the form field info for the To: line). You could have the .asp page display a message like "Your friend has been told about this website." or something like that.

I am using Windows 2000 Server to run our site, I'm not sure if that script will work on a unix webserver.

[This message has been edited by KevinB (edited 03-14-2001).]


(in reply to philoso)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Link for Email To Friend
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts