How to use Dundas Mailer?

A. Sending an Email with the QuickSend Method

  1. <%
  2. Dim objMailer 'Mailer control
  3. Set objMailer = Server.CreateObject("Dundas.Mailer")
  4. objMailer.QuickSend From@my.com","To@his.com","Subject","MailBody"
  5. objMailer.SendMail
  6. Set objMailer = Nothing
  7. %>


Explanation according to line:

  1. Open ASP tag
  2. Declare a variable named objMailer
  3. Create instance of Mailer control
  4. Send email
  5. Reset variable to nothing
  6. Close ASP tag


B. Sending an Email with the SendMail Method

  1. <%
  2. Dim objMailer 'Mailer control
  3. Set objMailer = Server.CreateObject("Dundas.Mailer")
  4. objMailer.TOs.Add "martine@dundas.com"
  5. objMailer.FromAddress = "FromMe@SomeServer.com"
  6. objMailer.Subject = "Subject"
  7. objMailer.Body = "This is the body."
  8. objMailer.SendMail
  9. Set objMailer = Nothing
  10. %>


Explanation according to line:

  1. Open ASP tag
  2. Declare a variable named objMailer
  3. Create instance of Mailer control
  4. 4-7: Set Mailer control properties and collection items
  5. Send Mail
  6. Reset variable to nothing
  7. Close ASP tag
Note: This may please be noted that this component can be uniformly used by all the users of Windows Shared Hosting. Whereas, as regard to our VPS users, the following guideline will be effective:

- This component is not offered with the purchase of a VPS, therefore, if any client wishes to use this, he/she will need to purchase and install on his/her VPS.

  • 434 Users Found This Useful

Was this answer helpful?


Related Articles

Microsoft Access and ASP connection script for Windwos 2008 / 2012 shared hosting

If your website is hosted on our Windows 2008 or Windows 2012 shared hosting server, you will...

How to send emails using ASP.Net (VB)?

This topic includes the sample code to send email from ASP.Net(VB) code :Sample Code :<%@...

How to send Emails via ASP using SMTP authentication?

This topic includes the sample code to send email from ASP.Net using C# code :Sample Code :<%@...

How to use ASP Email?

ASPEmail 5.0 is an active server component for sending e-mail messages using an external SMTP...

How to use Dundas Upload?

Dundas upload control is a flexible and reliable component allows you to accept, save, and...