DIAdem Help

Content Type
Programming Language
Current manual

Object: EMail

Object: EMail

The EMail object provides an email to send over an email server. Use the CreateEMail method to create the EMail object. Use the Send method to send emails.

Note The objects EMailService and EMail are only available in the 64-bit version of DIAdem.

The following example creates an email and sends it without authentication.

VBScriptPython

 

Dim oMyEMailService, oMyMail
Set oMyEMailService = CreateEMailService("server.example.com")
Set oMyMail = oMyEMailService.CreateEMail("FromUser <from.example@example.com>", "ToUser <to.example@example.com>", "This is the subject", "This is some text")
Call oMyMail.Send

Properties

BCC | CC | From | Subject | TextBody | To

Methods

AddAttachment | Send

Was this information helpful?