|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMailSender
Description: This class is responsible for sending the e-mails
| Method Summary | |
|---|---|
IPropertiesLoader |
getPropertiesLoader()
|
SendingResult |
sendMail(String plain,
String html,
MailConfig mailConfig,
ServerConfig serverConfig,
Map<String,String> map)
This method sends the mail. |
void |
setPropertiesLoader(IPropertiesLoader propertiesLoader)
Set the ProperitesLoader which should be used to read properties from the config files. |
| Method Detail |
|---|
SendingResult sendMail(String plain,
String html,
MailConfig mailConfig,
ServerConfig serverConfig,
Map<String,String> map)
throws MailFactoryException
plain - - the plain mail message.html - - the html mail message.mailConfig - - the mail config object.serverConfig - - the server config object.map - - the map containing embeds and attachements
MailFactoryExceptionIPropertiesLoader getPropertiesLoader()
void setPropertiesLoader(IPropertiesLoader propertiesLoader)
propertiesLoader - - the new PropertiesLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||