%
'Modify the address below to whatever you want the message sent to.
'============================================================================
EmailTo = "speakers2@profam.org"
'============================================================================
dim formPosted
formPosted = request("posted")
if formPosted then
dim strMessage, EmailFrom, EmailTo, strBody, strSubject
strMessage= request("txtmessage")
EmailFrom = request("txtfrom")
strSubject = request("txtsubject")
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = EmailTo
objCDO.From = EmailFrom
if strSubject = "" then strSubject = "Message Sent From worldcongress.org"
objCDO.Subject = strSubject
objCDO.Body = strmessage
objCDO.Send
Set objCDO = Nothing
end if
%>
:::THC-WCF:::
[Include/xthc_top.htm]
|
<%if not(formPosted) then %>
<%else%>
Thank You. Your message has been sent.
Click
here to Go
Back
<%end if%>
|
[Include/xthc_bot.htm] |