home *** CD-ROM | disk | FTP | other *** search
- <%
- response.buffer="true"
- %>
- <!---#INCLUDE FILE="data/config/config.asp"--->
-
- <%
- ' ASPMail(tm) from www.serverobjects.com
- ' is not part of ASP per se,
- ' but a third party utility from serverobjects.com
- Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
-
- Mailer.RemoteHost = mailserver
- Mailer.FromName = mailfromname
- Mailer.FromAddress = mailfromaddress
- Mailer.AddRecipient mailrecipientname, mailrecipientaddress
- 'Mailer.AddBCC mailbccname, mailbccaddress
- Mailer.Subject = mailsubject
- Mailer.BodyText = mailbodytext1
- Mailer.BodyText = mailbodytext2
- Mailer.BodyText = mailbodytext3
- Mailer.BodyText = mailbodytext4
- Mailer.BodyText = mailbodytext5
- Mailer.BodyText = mailbodytext6
- Mailer.BodyText = mailbodytext7
- Mailer.BodyText = mailbodytext8
- Mailer.BodyText = mailbodytext9
- Mailer.BodyText = mailbodytext10
- Mailer.BodyText = mailbodytext11
- Mailer.BodyText = mailbodytext12
- Mailer.BodyText = mailbodytext13
- Mailer.BodyText = mailbodytext14
- Mailer.BodyText = mailbodytext15
- If Mailer.SendMail then
-
- response.redirect "addcfrm.asp"
-
- Else
- Msg = "mail was not sent sucessfully"
- response.write Msg
- 'or you could do this
- 'response.redirect "../addcfrmerror.asp"
-
- End If
-
- %>
- </body></html>