Interface IEmailSender
-
public interface IEmailSenderBuilds and sender of an email with an optional attachment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend()IEmailSenderwithAttachedFile(java.lang.String attachmentFilePath, java.lang.String attachmentFileName)IEmailSenderwithAttachedText(java.lang.String attachmentText, java.lang.String attachmentFileName)IEmailSenderwithBody(java.lang.String bodyText)IEmailSenderwithSubject(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()
-
-