home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
202.53.64.216
/
202.53.64.216.tar
/
202.53.64.216
/
revelationindia
/
postmail1.asp
< prev
next >
Wrap
Text File
|
2004-09-27
|
731b
|
38 lines
<!--#include file = "increvelation.asp"-->
<%
dim BlnFlag
dim strFrom
dim strTo
dim strSub
dim strMsg
dim Mailer
strFrom = "info@revelationindia.com"
strTo = Request.Form("to")
strSub = Request.Form("subject")
strMsg = Request.Form("message")
Set Mailer = server.CreateObject("CDONTS.NewMail")
Mailer.From = strFrom
Mailer.To = strTo
Mailer.Subject = strSub
Mailer.Body = strMsg
'Mailer.AttachFile "d:\sample.txt"
Mailer.Send
BlnFlag = SendMail(strFrom,strTo,strSub,strMsg)
'Response.Write BlnFlag
'Response.End
if BlnFlag = True then
Response.Redirect "mail1.asp?postreply=success"
else
Response.Redirect "mail1.asp?postreply=fail"
end if
%>