View Full Version : got a friend
three_suns
July 9th, 2003, 01:40 PM
i want to send a link of my site through email. meaning that when the user clicks on the button, it will send it to a friend the link via email. does DW have a insert button to do that for me or do i need script. if so what is the script???
Digitalosophy
July 9th, 2003, 02:37 PM
well you need a textbox that submits values to a server side script, which emails the person whom you've entered in the textbox, with a link to your site. what server side scripts does your server support?(ASP,PHP, etc)
three_suns
July 9th, 2003, 02:54 PM
just to let you know, I am a copy a paste kind of guy when it comes to scripting. i was hoping that dreamweaver has a easy insert button or something to that nature for me to use.
Digitalosophy
July 9th, 2003, 02:56 PM
lol well i have tons of scripts, and so does kirupa. find out what your server allows and well figure it out. If your server allows ASP look at the thread that Allen started. All the info is in their. If not serach for jubba's mail tutorial, that uses PHP
three_suns
July 9th, 2003, 04:49 PM
the server works with anything and everything. right its working the front desk.
Digitalosophy
July 9th, 2003, 05:20 PM
ok good, so check out jubba's tute and if you want to use asp, im in the process of writing the tute for someone else, ill just post for every one to see
JustSara
July 10th, 2003, 01:56 PM
For the copy and pasters out there... if you go to www.macromedia.com and surf to their Dreamweaver exchange area you can download an extension called Super Email. It will let you drop and drag a link onto your webpage that the visitor can use. It also lets you customize the Subject Line of the email.
JustSara
Digitalosophy
July 10th, 2003, 01:58 PM
really, cheap but cool :)
three_suns
July 11th, 2003, 10:08 AM
what i dneed is a simple script so that i can send a email with link
Digitalosophy
July 11th, 2003, 11:07 AM
this is an asp script which take values:
name
email
website
comments
and sends them to an email
<% @language="VBSCRIPT" %>
<%
Dim myMail, myBody
myBody = "Name: "& request.form("name") & vbcrlf
myBody = myBody & "Email: "& request.form("email") & vbcrlf
myBody = myBody & "Website: "& request.form("website") & vbcrlf
myBody = myBody & "Message: "& vbcrlf & request.form("comments")
Set myMail = CreateObject("CDONTS.NewMail")
myMail.BodyFormat=1
myMail.MailFormat=1
myMail.From=request.form("email")
myMail.To=request.form("email")
myMail.Subject="Flash MX Test Email"
myMail.Body=myBody
myMail.Send
set myMail=nothing
%>
three_suns
July 16th, 2003, 08:11 AM
on the script that you have provided, do i need to customize it to my need or is this standard
Digitalosophy
July 16th, 2003, 10:39 AM
as long as your using the variables i provided you can just use that
vars:
name
email
website
comments
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.