just1dave
Starting Member
7 Posts |
Posted - 06 February 2001 : 04:57:21
|
Hey my hosting co I guess does not allow email to be sent to others from scripts on my site, and I really wanted send to friend to work, I looked at the code and came up with this, not the best, but I am not much of a programmer either, btw I use jmail I edited the pop_send_to_friend.asp Here is what it was (or at least a snipit f it):
'## Emails Topic To a Friend. '## This needs to be Edited to use your own email component '## if you don't have one, try the w3Jmail component from www.dimac.net it's free! if lcase(strEmail) = "1" then if (Err_Msg = "") then strRecipientsName = Request.Form("Name") strRecipients = Request.Form("Email") strSubject = "From: " & Request.Form("YName") & " Interesting Page" strMessage = "Hello " & Request.Form("Name") & vbCrLf & vbCrLf strMessage = strMessage & Request.Form("Msg") & vbCrLf & vbCrLf strMessage = strMessage & "You received this from : " & Request.Form("YName") & " " & Request.Form("YEmail")
if Request.Form("YEmail") <> "" then strSender = Request.Form("YEmail") end if %> <!--#INCLUDE FILE="inc_mail.asp" -->
And here is what I changed:
if Request.Form("YEmail") <> "" then strSender = "info@networkdesigner.net" end if %> <!--#INCLUDE FILE="inc_mail.asp" -->
Well hope this helps some of you and if you have any suggestions for me please let me know, Thanks, Dave www.networkdesigner.net www.ccexams.com www.nerdom.com
|
|