Package org.frankframework.senders
Class AbstractMailSender.MailSessionBase
java.lang.Object
org.frankframework.senders.AbstractMailSender.MailSessionBase
- Direct Known Subclasses:
MailSender.MailSession
,SendGridSender.GridMailSession
- Enclosing class:
- AbstractMailSender
Generic email class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addRecipientToMessage
(AbstractMailSender.EMail recipient) getFrom()
protected abstract boolean
boolean
void
setAttachmentList
(List<AbstractMailSender.MailAttachmentStream> attachmentList) void
setBounceAddress
(String bounceAddress) void
setCharSet
(String charSet) void
void
setHeaders
(Collection<Node> headers) void
setMessage
(String message) void
setMessageBase64
(boolean messageIsBase64) void
setMessageType
(String messageType) void
setRecipientList
(List<AbstractMailSender.EMail> recipients) void
setRecipientsOnMessage
(StringBuilder logBuffer) void
setReplyTo
(AbstractMailSender.EMail replyTo) void
setSubject
(String subject) void
setThreadTopic
(String threadTopic)
-
Constructor Details
-
MailSessionBase
- Throws:
SenderException
-
-
Method Details
-
setRecipientsOnMessage
- Throws:
SenderException
-
addRecipientToMessage
protected abstract void addRecipientToMessage(AbstractMailSender.EMail recipient) throws SenderException - Throws:
SenderException
-
hasWhitelistedRecipients
- Throws:
SenderException
-
getFrom
-
setFrom
-
getReplyTo
-
setReplyTo
-
getRecipientList
- Throws:
SenderException
-
setRecipientList
-
getAttachmentList
-
setAttachmentList
-
getSubject
-
setSubject
-
getMessage
-
setMessage
-
getMessageType
-
setMessageType
-
isMessageBase64
public boolean isMessageBase64() -
setMessageBase64
public void setMessageBase64(boolean messageIsBase64) -
getCharSet
-
setCharSet
-
getThreadTopic
-
setThreadTopic
-
getHeaders
-
setHeaders
-
setBounceAddress
-
getBounceAddress
-