Interface Emailer
- All Known Implementing Classes:
MockEmailer
public interface Emailer
An email service. Used for sending emails.
- Author:
- Alex Bogdanovski [[email protected]]
-
Method Summary
-
Method Details
-
sendEmail
-
sendEmail
boolean sendEmail(List<String> emails, String subject, String body, InputStream attachment, String mimeType, String fileName) Sends an email.- Parameters:
emails- a list of email addresses (recipients)subject- the subject of the messagebody- the body of the messageattachment- attachmentmimeType- attachment MIME typefileName- attachment file name- Returns:
- true if the message was sent
-