Property: TextBody for EMail
- Updated2024-09-12
- 1 minute(s) read
Properties > Property: TextBody for EMail
Property: TextBody for EMail
Specifies the text of an email. The text can contain text but not formats.
Object.TextBody
Object | EMail Object with this property |
Object.TextBody | String with read and write access |
The following example creates an email and sends it without authentication.
VBScript | Python |
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