Property: To for EMail
- Updated2024-09-12
- 1 minute(s) read
Properties > Property: To for EMail
Property: To for EMail
Specifies the email addresses to which DIAdem sends the email.
Object.To
Object | EMail Object with this property |
Object.To | 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>", "", "This is the subject", "This is some text") oMyMail.To = "to@example.com" oMyMail.BCC = "blind.cc@example.com" Call oMyMail.Send