Package com.atlassian.crowd.manager.mail
Class MailSendManager
java.lang.Object
com.atlassian.crowd.manager.mail.MailSendManager
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMailSendManager
(InitialContext initialContext, TokenHandlerSupplier tokenHandlerSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.mail.internet.MimeMessage
createEmail
(EmailMessage msg, MailSessionWrapper session) sendMultiple
(Collection<? extends EmailMessage> messages, SMTPServer smtpServer, PrintStream debugStream) void
sendSingle
(EmailMessage message, SMTPServer smtpServer, PrintStream debugStream)
-
Field Details
-
SMTP_PROTOCOL
- See Also:
-
SECURE_SMTP_PROTOCOL
- See Also:
-
-
Constructor Details
-
MailSendManager
-
-
Method Details
-
sendMultiple
public Set<EmailMessage> sendMultiple(Collection<? extends EmailMessage> messages, SMTPServer smtpServer, @Nullable PrintStream debugStream) throws MailSendException - Throws:
MailSendException
-
sendSingle
public void sendSingle(EmailMessage message, SMTPServer smtpServer, @Nullable PrintStream debugStream) throws MailSendException - Throws:
MailSendException
-
createEmail
protected javax.mail.internet.MimeMessage createEmail(EmailMessage msg, MailSessionWrapper session) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-
getMailTransportContext
-