Package org.opencms.mail
Class CmsMailUtil
java.lang.Object
org.opencms.mail.CmsMailUtil
Contains utility methods for dealing with emails.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureMail
(CmsMailHost host, org.apache.commons.mail.Email mail) Configures the mail from the given mail host configuration data.
-
Field Details
-
SECURITY_SSL
Value for 'security' attribute to enable SSL.- See Also:
-
SECURITY_STARTTLS
Value for 'security' attribute to enable TLS.- See Also:
-
-
Method Details
-
configureMail
Configures the mail from the given mail host configuration data.- Parameters:
host
- the mail host configurationmail
- the email instance
-