Package com.soffid.iam.iga.service
Interface MailService
public interface MailService
Service MailService
Service to send emails
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsendHtmlMail(String to, String subject, String body) Operation sendHtmlMail Sends HTML email to a given email addressvoidsendHtmlMail(String to, String cc, String subject, String body) Operation sendHtmlMail Sends HTML email to a given email address with ccvoidsendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts) Operation sendHtmlMail Sends HTML email with attachments to a given email address with ccvoidsendHtmlMail(String to, String subject, String body, Collection mimeBodyParts) Operation sendHtmlMail Sends HTML email to a given email address with attachmentsvoidsendHtmlMailToActors(String[] actors, String subject, String body) Operation sendHtmlMailToActors Sends HTML email to a set of users, groups or role ownersvoidsendHtmlMailToActors(String[] actors, String cc, String subject, String body) Operation sendHtmlMailToActors Sends HTML email to a set of users, groups or role owners, with ccvoidsendTextMail(String to, String subject, String body) Operation sendTextMail Sends a plain text email to a given email addressvoidsendTextMail(String to, String cc, String subject, String body) Operation sendTextMail Sends text email to a given email address with ccvoidsendTextMailToActors(String[] actors, String subject, String body) Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role ownersvoidsendTextMailToActors(String[] actors, String cc, String subject, String body) Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role owners, with ccvoidsendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts) Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role owners, with cc and attachmentsvoidsendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts) Operation sendTextMailToActors Sends plain text email with attachments to a set of users, groups or role owners
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
sendHtmlMail
Operation sendHtmlMail Sends HTML email to a given email address- Parameters:
to-subject-body-- Throws:
InternalErrorException
-
sendHtmlMail
Operation sendHtmlMail Sends HTML email to a given email address with cc- Parameters:
to-cc-subject-body-- Throws:
InternalErrorException
-
sendHtmlMail
void sendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts) throws InternalErrorException Operation sendHtmlMail Sends HTML email with attachments to a given email address with cc- Parameters:
to-cc-subject-body-mimeBodyParts-- Throws:
InternalErrorException
-
sendHtmlMail
void sendHtmlMail(String to, String subject, String body, Collection mimeBodyParts) throws InternalErrorException Operation sendHtmlMail Sends HTML email to a given email address with attachments- Parameters:
to-subject-body-mimeBodyParts-- Throws:
InternalErrorException
-
sendHtmlMailToActors
void sendHtmlMailToActors(String[] actors, String subject, String body) throws InternalErrorException Operation sendHtmlMailToActors Sends HTML email to a set of users, groups or role owners- Parameters:
actors-subject-body-- Throws:
InternalErrorException
-
sendHtmlMailToActors
void sendHtmlMailToActors(String[] actors, String cc, String subject, String body) throws InternalErrorException Operation sendHtmlMailToActors Sends HTML email to a set of users, groups or role owners, with cc- Parameters:
actors-cc-subject-body-- Throws:
InternalErrorException
-
sendTextMail
Operation sendTextMail Sends a plain text email to a given email address- Parameters:
to-subject-body-- Throws:
InternalErrorException
-
sendTextMail
Operation sendTextMail Sends text email to a given email address with cc- Parameters:
to-cc-subject-body-- Throws:
InternalErrorException
-
sendTextMailToActors
void sendTextMailToActors(String[] actors, String subject, String body) throws InternalErrorException Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role owners- Parameters:
actors- Set of users, groups or role ownerssubject-body-- Throws:
InternalErrorException
-
sendTextMailToActors
void sendTextMailToActors(String[] actors, String cc, String subject, String body) throws InternalErrorException Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role owners, with cc- Parameters:
actors-cc-subject-body-- Throws:
InternalErrorException
-
sendTextMailToActors
void sendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts) throws InternalErrorException Operation sendTextMailToActors Sends a plain text email to a set of users, groups or role owners, with cc and attachments- Parameters:
actors-cc-subject-body-mimeBodyParts-- Throws:
InternalErrorException
-
sendTextMailToActors
void sendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts) throws InternalErrorException Operation sendTextMailToActors Sends plain text email with attachments to a set of users, groups or role owners- Parameters:
actors- Set of users, groups or role ownerssubject-body-mimeBodyParts-- Throws:
InternalErrorException
-