Package com.atlassian.crowd.manager.mail
Class MailSendManager
java.lang.Object
com.atlassian.crowd.manager.mail.MailSendManager
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMailSendManager(InitialContext initialContext, TokenHandlerSupplier tokenHandlerSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.mail.internet.MimeMessagecreateEmail(EmailMessage msg, MailSessionWrapper session) sendMultiple(Collection<? extends EmailMessage> messages, SMTPServer smtpServer, PrintStream debugStream) voidsendSingle(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 jakarta.mail.internet.MimeMessage createEmail(EmailMessage msg, MailSessionWrapper session) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
getMailTransportContext
-