Interface IEmailSender
-
public interface IEmailSender
Builds and sender of an email with an optional attachment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send()
IEmailSender
withAttachedFile(java.lang.String attachmentFilePath, java.lang.String attachmentFileName)
IEmailSender
withAttachedText(java.lang.String attachmentText, java.lang.String attachmentFileName)
IEmailSender
withBody(java.lang.String bodyText)
IEmailSender
withSubject(java.lang.String subject)
-
-
-
Method Detail
-
withSubject
IEmailSender withSubject(java.lang.String subject)
-
withBody
IEmailSender withBody(java.lang.String bodyText)
-
withAttachedFile
IEmailSender withAttachedFile(java.lang.String attachmentFilePath, java.lang.String attachmentFileName)
-
withAttachedText
IEmailSender withAttachedText(java.lang.String attachmentText, java.lang.String attachmentFileName)
-
send
void send()
-
-