public interface Emailer
An email service. Used for sending emails.
- Author:
- Alex Bogdanovski [alex@erudika.com]
-
Method Summary
-
Method Details
-
sendEmail
Sends an email.- Parameters:
emails- a list of email addresses (recipients)subject- the subject of the messagebody- the body of the message- Returns:
- true if the message was sent
-
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
-