HouseViewOnline link Mailer
<% title=trim(request.querystring("title")) referer=request.servervariables("http_referer") u_submitted=trim(request.form("u_submitted")) if referer = "" then response.write "You have reached the Mail-A-Link page, but we were unable to recognize the previous page" response.end end if if u_submitted <> "Yes" then %>
" method="post"> Subject: <%= title %>
Link: <%= referer %>

Enter the email address of the recipient:
Enter Your email:
Comments:
<% else referer=request.form("referer") u_email=request.form("u_email") S_email=request.form("S_email") u_comments=request.form("u_comments") title=request.form("title") if S_email = "" then S_email = "scott@houseviewonline.com" End if u_body = "The following link was sent to you by a user of HouseViewOnline.com" & vbCrLf u_body = u_body & "Subject:" & title & vbCrLf & vbCrLf u_body = u_body & "Sender Comments:" & u_comments & vbCrLf & vbCrLf u_body = u_body & "Link:" & vbCrLf u_body = u_body & referer set sm = Server.CreateOBject("JMail.Message") sm.Logging = True sm.silent = False sm.From = S_email sm.FromName = "Houseview" sm.AddRecipient u_email sm.Subject = "Requested Link:" & title sm.Body = u_body sm.Send("mail.sitewerkz.com") 'sm.Send("web:send4mail@mail.sitewerkz.com") set sm = Nothing %> Your mail has been sent
Please Close this Window....
<% end if%>