Mailenable Component - Mail Code

Mailenable Component - Mail Code

<%@ Language=VBScript %>
<%

Dim oMail

Set oMail = server.CreateObject("MEMail.Message")

oMail.MailFrom = "[email protected]"
oMail.MailFromDisplayName = "DisplayName"
oMail.ContentType = "text/html;"
oMail.MailTo ="[email protected]"
oMail.Subject = "SubjectName"
oMail.MessageBody = "Hello there,Welcome to our new service."

oMail.SendMessage

Set oMail = Nothing

Response.Write "success"
%>

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How do I setup customized Apache Handlers?

What are Apache Handlers? Apache handlers allow you to control what Apache will do with certain...

How do I customize my web site's Error Pages?

Overview With this tool you can create custom error pages to display when a user enters a wrong...

How do I create custom MIME Types?

Overview MIME Types tell browsers how to handle specific file extensions. For example, the...

How do I create a backup of my web site, directory or hosting account?

Overview Backups allow you to download (to your computer) a zipped copy of either you entire...

How do I view how much bandwidth my web site has used today, this month, or this year?

Overview The Bandwidth Usage feature allows you to see the bandwidth usage for your site. It...

Powered by WHMCompleteSolution