%
strReferrer = Trim(Request.ServerVariables("HTTP_REFERER"))
'response.write strReferrer
strHost = "mail.newdemocracycoalition.org"
bInitial = request("strSent")
'response.write bInitial & " - binit
"
If Request("Send") <> "" Then
strRefer = request("referpage")
strBody = "I thought you might find New Democracy Coalition interesting." & vbcrlf
strBody = strBody & "You can visit their site at "& strRefer & vbcrlf
strBody = strBody & Request("Body")
Set oCdoMail = Server.CreateObject("CDO.Message")
Set oCdoConf = Server.CreateObject("CDO.Configuration")
sConfURL = "http://schemas.microsoft.com/cdo/configuration/"
with oCdoConf
.Fields.Item(sConfURL & "sendusing") = 2
.Fields.Item(sConfURL & "smtpserver") = "localhost"
.Fields.Item(sConfURL & "smtpserverport") = 25
.Fields.Update
end with
with oCdoMail
.From = Request("From")
.To = Request("To")
.Subject = "From New Democracy Coalition"
.TextBody = strBody
end with
oCdoMail.Configuration = oCdoConf
oCdoMail.Send
Set oCdoConf = Nothing
Set oCdoMail = Nothing
End If
%>
![]() |
|||||||||||||||||||||||||||||||
|
![]() |
||||||||||||||||||||||||||||||
Send a friend an email<% if bInitial <> "" then%> <% If strErr <> "" Then %> An error occurred while sending your message: <% = strErr %><% End If %> <% If bSuccess Then %>Thank you for getting the message out.<% End If %> <%Else%> <%End If%> |
|||||||||||||||||||||||||||||||
| About Us Support Us Blog What We Do Press Releases ©All Rights Reserved. Property of New Democracy Coalition Site Design: Ideology Technology by: Wozzaworks |
|||||||||||||||||||||||||||||||