com.atlassian.crowd.manager.mail
Class MailManagerImpl
java.lang.Object
com.atlassian.crowd.manager.mail.MailManagerImpl
- All Implemented Interfaces:
- MailManager
public class MailManagerImpl
- extends Object
- implements MailManager
Method Summary |
void |
sendEmail(javax.mail.internet.InternetAddress emailAddress,
String subject,
String body)
Sends an email using the configured
mail server (remote host / JNDI). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailManagerImpl
public MailManagerImpl(PropertyManager propertyManager,
InitialContext initialContext,
I18nHelper i18nHelper)
sendEmail
public void sendEmail(javax.mail.internet.InternetAddress emailAddress,
String subject,
String body)
throws MailSendException
- Description copied from interface:
MailManager
- Sends an email using the configured
mail server (remote host / JNDI).
- Specified by:
sendEmail
in interface MailManager
- Parameters:
emailAddress
- address of recipient.subject
- subject header.
Will be appended with the configured mail subject prefix in the final email.body
- email body text.
- Throws:
MailSendException
- an error occured sending the email.
Copyright © 2013 Atlassian. All Rights Reserved.