@Service public final class MailServiceImpl extends Object implements MailService
| Constructor and Description |
|---|
MailServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendMail(Collection<Utilisateur> recipients,
String subject,
String text)
Send an e-mail
|
void |
sendMail(Collection<Utilisateur> recipients,
String subject,
String text,
String replyTo)
Send an e-mail
|
void |
sendMail(Personne recipient,
String subject,
String text)
Send an e-mail
|
void |
sendMailQuietly(Collection<Utilisateur> recipients,
String subject,
String text)
Send an e-mail quietly (without throwing exceptions)
|
void |
sendMailQuietly(Personne recipient,
String subject,
String text)
Send an e-mail quietly (without throwing exceptions)
|
public void sendMail(Collection<Utilisateur> recipients, String subject, String text) throws EmailException
sendMail in interface MailServicerecipients - Recipients (not empty, no null object)subject - Subject (not empty)text - Text (not empty)EmailException - When an e-mail error occurspublic void sendMail(Collection<Utilisateur> recipients, String subject, String text, String replyTo) throws EmailException
sendMail in interface MailServicerecipients - Recipients (not empty, no null object)subject - Subject (not empty)text - Text (not empty)replyTo - Reply toEmailException - When an e-mail error occurspublic void sendMail(Personne recipient, String subject, String text) throws EmailException
sendMail in interface MailServicerecipient - Recipient (not null)subject - Subject (not empty)text - Text (not empty)EmailException - When an e-mail error occurspublic void sendMailQuietly(Collection<Utilisateur> recipients, String subject, String text)
sendMailQuietly in interface MailServicerecipients - Recipients (not empty, no null object)subject - Subject (not empty)text - Text (not empty)public void sendMailQuietly(Personne recipient, String subject, String text)
sendMailQuietly in interface MailServicerecipient - Recipient (not null)subject - Subject (not empty)text - Text (not empty)Copyright © 2009–2014 IRD. All rights reserved.