public class EmailGovernance extends Object
Mailer instance. That is, this class represents actions
taken or configuration used by default for each individual email sent through the current mailer. For example, you might want to S/MIME sign all emails
by default. You can do it manually on each email of course, but then the keystore used for this is not reused.
Also, you can supply a custom email instance which will be used for defaults. For example,
you can set a default from address or subject.
You can set this on the MailerBuilder using MailerBuilder.withEmailGovernance(EmailGovernance).
| Modifier and Type | Field and Description |
|---|---|
static EmailGovernance |
NO_GOVERNANCE |
| Constructor and Description |
|---|
EmailGovernance() |
public static final EmailGovernance NO_GOVERNANCE
Copyright © 2009–2023. All rights reserved.