Search

Class EmailMessage

Main class to create mail messages

Attributes

Name Type Description
bccAddress String Comma-separated list of Blank Carbon copy email addresses
ccAddress String Comma-separated list of Carbon copy email addresses
fromAddress String Email address of the sender
fromName String Display name of the sender (optional)
password String Password to connect to the SNMP host
smtpHost String Mail sender SMTP host name or IP address
smtpPort String Mail sender SMTP port (the default is 25)
subject String Email subject
toAddress String Comma-separated list of destination email addresses
username String Username to connect to the SNMP host
useSsl String Whether or not using smtp or smtps (SMTP over Ssl) protocol
useStartTls String Whether or not to enable STARTTLS command

Methods

Name Returns
addMimePart(Object content, String mimetype) void
getSessionProperty(String key) String
sendMessage() void
setSessionProperty(String key, String value) void

Returned by

None

Referenced in

None