public class MailSendManager extends Object
Constructor and Description |
---|
MailSendManager(MailSessionFactory mailSessionFactory) |
Modifier and Type | Method and Description |
---|---|
protected javax.mail.internet.MimeMessage |
createEmail(EmailMessage msg,
MailSessionWrapper session) |
Set<EmailMessage> |
sendMultiple(Collection<? extends EmailMessage> messages,
SMTPServer smtpServer,
PrintStream debugStream) |
void |
sendSingle(EmailMessage message,
SMTPServer smtpServer,
PrintStream debugStream) |
public MailSendManager(MailSessionFactory mailSessionFactory)
public Set<EmailMessage> sendMultiple(Collection<? extends EmailMessage> messages, SMTPServer smtpServer, @Nullable PrintStream debugStream) throws MailSendException
MailSendException
public void sendSingle(EmailMessage message, SMTPServer smtpServer, @Nullable PrintStream debugStream) throws MailSendException
MailSendException
protected javax.mail.internet.MimeMessage createEmail(EmailMessage msg, MailSessionWrapper session) throws javax.mail.MessagingException
javax.mail.MessagingException
Copyright © 2020 Atlassian. All rights reserved.