%@Language="VBScript"%> <% '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Spd E-Letter v4 ' © 2001, 2002 PensaWorks, inc. ' For help with this program, please visit http://www.pensaworks.com '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Dim Access : Access = "User" Dim Nav3 : Nav3 = "1" %> <% On Error Resume Next Response.Buffer = True Server.ScriptTimeout = 500 Dim theComponent(6) Dim theComponentName(6) theComponent(0) = "SMTPsvg.Mailer" theComponent(1) = "SMTPsvg.Mailer" theComponent(2) = "Persits.MailSender" theComponent(3) = "CDONTS.NewMail" theComponent(4) = "CDONTS.NewMail" theComponent(5) = "Jmail.smtpmail" theComponent(6) = "SoftArtisans.SMTPMail" theComponentName(0) = "ASPMail" theComponentName(1) = "ASPQMail" theComponentName(2) = "ASPEMail" theComponentName(3) = "CDONTS" theComponentName(4) = "Chili!Mail" theComponentName(5) = "JMail" theComponentName(6) = "SA-Smtp Mail" Function IsObjInstalled(strClassString) IsObjInstalled = False Err = 0 Dim xTestObj Set xTestObj = Server.CreateObject(strClassString) If 0 = Err Then IsObjInstalled = True Set xTestObj = Nothing Err = 0 End Function If Request.Form("action") = "mailer_test" Then ToEmail = Request.Form("ToEmail") ToName = Request.Form("ToName") FromEmail = Request.Form("FromEmail") FromName = Request.Form("FromName") MailerPath = Request.Form("MailerPath") MailerPort = "25" Format = "Text" If (Request("MailerPort") <> "") Then MailerPort = Request("MailerPort") Dim Subject : Subject = "Mailer Program Component Test" Dim Message2 : Message2 = VbCrLf & VbCrLf & "This email has been sent as a Mailer Program test for the above named component. " & VbCrLf & VbCrLf Message2 = Message2 & "To Name: " & ToName & VbCrLf Message2 = Message2 & "To Email: " & ToEmail & VbCrLf Message2 = Message2 & "From Name: " & FromName & VbCrLf Message2 = Message2 & "From Email: " & FromEmail & VbCrLf Message2 = Message2 & "Mailer Path: " & MailerPath & VbCrLf Message2 = Message2 & "Port Number: " & MailerPort & VbCrLf & VbCrLf Message2 = Message2 & "If you have received this email, then the mailer component is functioning properly. Please use the settings listed above for configuring the Spd E-Letter. If you believe you have reached this email in error, then please just disregard. " Message2 = Message2 & VbCrLf & VbCrLf & "Sent from the Spd E-Letter v" & MLVersion & " Administration Panel on " & Now & "." If Request("CDONTS") = "Y" Then Message = "Mailer Component = CDONTS" & Message2 Results = CDONTS_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If If Request("ASPMail") = "Y" Then Message = "Mailer Component = ASPMail" & Message2 Results = ASPMail_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If If Request("ASPQMail") = "Y" Then Message = "Mailer Component = ASPQMail" & Message2 Results = ASPQMail_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If If Request("JMail") = "Y" Then Message = "Mailer Component = JMail" & Message2 Results = JMail_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If If Request("SASmtpMail") = "Y" Then Message = "Mailer Component = SA-SmtpMail" & Message2 Results = SASmtpMail_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If If Request("ASPEmail") = "Y" Then Message = "Mailer Component = ASPEMail" & Message2 Results = ASPEMail_Mailer(Message, FromEmail, ToEmail, FromName, ToName, Subject, MailerPath, MailerPort, Format, BCCEmail, CCEmail, ReplyTo) End If msg = "1" End If %>
|
Mailer
Program Test <% If msg = "1" Then %> The
Email Test has been completed. Please check your email box for new emails.
Please allow up to 15 minutes or more for email messages to arrive.
<% End If %>
|
||
|
|