CDOSYS Sample Email Code

Dim ObjSendMail
Dim iConf
Dim Flds
Set ObjSendMail = Server.CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
Flds("") = 1
'**** Path below may need to be changed if it is not correct
Flds("") = "c:\inetpub\mailroot\pickup"
Set ObjSendMail.Configuration = iConf
ObjSendMail.To = ""
ObjSendMail.Subject = "this is the subject"
ObjSendMail.From = ""
' we are sending a text email.. simply switch the comments around to send an html email instead
'ObjSendMail.HTMLBody = "this is the body"
ObjSendMail.TextBody = "this is the body"
Set ObjSendMail = Nothing

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Creating SQL Server DataBase in HELM

i : Login to HELM using your information ii : Click on [ Domains ] iii : Now click on the row...

Creating application/virtual Directory in HELM

By default all \wwwroot folders are already configured as application directories. This allows...

Adding new domain in HELM [ Resellers Only ]

[1] Login to HELM [ Using your reseller login information ] [2] Click on Users [3] Click on Add...

Frontpage Editing

QUESTION ------------------------------------------------------ How frontpage could be used to...

Powered by WHMCompleteSolution