Sending Email with the WebTrend Email Component
Page 1 of 1 • Share •
Sending Email with the WebTrend Email Component
Here is a example of how to send email with the WebTrend's email component.
<%
response.write "Processing mail..."
Set Mail = CreateObject("WT_Sendmail.Send")
Mail.Server = "mail.domain.com"
Mail.SendFrom = "WebServer"
Mail.ReplyTo = "server@domain.com"
Mail.Subject = "Email Sent from IIS Server"
Mail.Body = "This email was sent from IIS using WebTrend's email component." & vbcr & _
"If you would like any additional information please visit Http://www.Webtrends.com ."
Mail.AddSendTo "user@domain.com"
Mail.AddSendTo "user2@domain.com"
Mail.AddBCC "blinduser@domain.com"
Mail.AddAttachment "c:\test.gif", "Base64"
Mail.SendMail
response.write "Done processing mail."
response.write Mail.Status
%>
Regards
Sakthi
<%
response.write "Processing mail..."
Set Mail = CreateObject("WT_Sendmail.Send")
Mail.Server = "mail.domain.com"
Mail.SendFrom = "WebServer"
Mail.ReplyTo = "server@domain.com"
Mail.Subject = "Email Sent from IIS Server"
Mail.Body = "This email was sent from IIS using WebTrend's email component." & vbcr & _
"If you would like any additional information please visit Http://www.Webtrends.com ."
Mail.AddSendTo "user@domain.com"
Mail.AddSendTo "user2@domain.com"
Mail.AddBCC "blinduser@domain.com"
Mail.AddAttachment "c:\test.gif", "Base64"
Mail.SendMail
response.write "Done processing mail."
response.write Mail.Status
%>
Regards
Sakthi

sakthi- Leader
- Posts: 187
Join date: 2007-12-02
Age: 25
Location: Coimbatore
Permissions of this forum:
You cannot reply to topics in this forum





