DIAdem Help

Content Type
Programming Language
Current manual

Property: TextBody for EMail

Property: TextBody for EMail

Specifies the text of an email. The text can contain text but not formats.

Object.TextBody
ObjectEMail
Object with this property
Object.TextBodyString with read and write access

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", "")
oMyMail.TextBody = "Hello World" & VBCrLf & "This is my first email!"
Call oMyMail.Send
In This Section
Was this information helpful?