com.atlassian.crowd.manager.mail
Interface MailManager

All Known Implementing Classes:
MailManagerImpl

public interface 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).
 

Method Detail

sendEmail

void sendEmail(javax.mail.internet.InternetAddress emailAddress,
               String subject,
               String body)
               throws MailSendException
Sends an email using the configured mail server (remote host / JNDI).

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.