Package com.atlassian.crowd.manager.mail
Class MailTransport
java.lang.Object
com.atlassian.crowd.manager.mail.MailTransport
A wrapper around the JavaMail
Transport class that handles the creation/closing of the Session.-
Constructor Summary
ConstructorsConstructorDescriptionMailTransport(MailSessionFactory mailSessionFactory, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckConnection(com.atlassian.crowd.util.mail.SMTPServer smtpServer, PrintStream debugStream)
-
Constructor Details
-
MailTransport
public MailTransport(MailSessionFactory mailSessionFactory, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
checkConnection
public void checkConnection(com.atlassian.crowd.util.mail.SMTPServer smtpServer, PrintStream debugStream) throws MailSendException - Throws:
MailSendException
-