Uses of Class
com.atlassian.crowd.manager.mail.MailSendException
Package
Description
-
Uses of MailSendException in com.atlassian.crowd.email
-
Uses of MailSendException in com.atlassian.crowd.emailchange
Modifier and TypeMethodDescriptionvoid
EmailChangeManager.resendEmail
(String username, long directoryId) Resends an e-mail with a new token for a user in crowd app that has a pending e-mail verification.void
EmailChangeManager.sendEmailAuthorization
(String username, String password, long directoryId, String newEmail) Starts e-mail change flow for a user in crowd app, by sending two e-mails. -
Uses of MailSendException in com.atlassian.crowd.manager.login
Modifier and TypeMethodDescriptionvoid
ForgottenLoginManager.sendResetLink
(long directoryId, String username, int tokenExpirySeconds) Sends a reset link to the user with specified username and directory ID.void
ForgottenLoginManager.sendResetLink
(Application application, String username, int tokenExpirySeconds) Sends a reset link to the first user with the matchingusername
from all the active directories assigned to the application.void
ForgottenLoginManagerImpl.sendResetLink
(long directoryId, String username, int tokenExpirySeconds) void
ForgottenLoginManagerImpl.sendResetLink
(Application application, String username, int tokenExpirySeconds) -
Uses of MailSendException in com.atlassian.crowd.manager.mail
Modifier and TypeMethodDescriptionvoid
MailManager.sendEmail
(EmailMessage messageToSend) Sends a single email using the configured mail servervoid
MailManagerImpl.sendEmail
(EmailMessage messageToSend) Collection<? extends EmailMessage>
MailManager.sendEmails
(Collection<? extends EmailMessage> messagesToSend) Sends multiple emails using the configured mail server.Set<? extends EmailMessage>
MailManagerImpl.sendEmails
(Collection<? extends EmailMessage> messagesToSend) void
MailManager.sendHtmlEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body, String plainText) Deprecated.void
MailManagerImpl.sendHtmlEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body, String plainText) MailSendManager.sendMultiple
(Collection<? extends EmailMessage> messages, SMTPServer smtpServer, PrintStream debugStream) void
MailManager.sendPlainTextEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body) Deprecated.since 4.4.0, UseMailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)
insteadvoid
MailManager.sendPlainTextEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body, Map<String, String> headers, Map<String, javax.activation.DataSource> attachments) Deprecated.since 4.4.0, UseMailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)
insteadvoid
MailManagerImpl.sendPlainTextEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body) void
MailManagerImpl.sendPlainTextEmail
(javax.mail.internet.InternetAddress emailAddress, String subject, String body, Map<String, String> headers, Map<String, javax.activation.DataSource> attachments) void
MailSendManager.sendSingle
(EmailMessage message, SMTPServer smtpServer, PrintStream debugStream) MailManager.sendTestMail
(SMTPServer smtpServer, javax.mail.internet.InternetAddress emailAddress) Send a test email using the supplied mail server (remote host / JNDI)MailManagerImpl.sendTestMail
(SMTPServer smtpServer, javax.mail.internet.InternetAddress emailAddress) -
Uses of MailSendException in com.atlassian.crowd.manager.mail.transport
Modifier and TypeMethodDescription<T> T
BasicAuthenticationMailTransport.connectAndExecuteCallback
(BiFunction<javax.mail.Transport, MailSessionWrapper, T> callback, SMTPServer smtpServer, PrintStream debugStream) <T> T
JndiMailTransport.connectAndExecuteCallback
(BiFunction<javax.mail.Transport, MailSessionWrapper, T> callback, SMTPServer smtpServer, PrintStream debugStream) abstract <T> T
MailTransport.connectAndExecuteCallback
(BiFunction<javax.mail.Transport, MailSessionWrapper, T> callback, SMTPServer smtpServer, PrintStream debugStream) Opens a connection to an SMTP server, executes a callback and closes the connection.<T> T
NoAuthenticationMailTransport.connectAndExecuteCallback
(BiFunction<javax.mail.Transport, MailSessionWrapper, T> callback, SMTPServer smtpServer, PrintStream debugStream) <T> T
OAuth2MailTransport.connectAndExecuteCallback
(BiFunction<javax.mail.Transport, MailSessionWrapper, T> callback, SMTPServer smtpServer, PrintStream debugStream) -
Uses of MailSendException in com.atlassian.crowd.manager.mailer.notification
Modifier and TypeMethodDescriptionvoid
PasswordExpirationNotificationMailer.sendNotifications
(Collection<InternalUserWithPasswordLastChanged> usersToNotify, Instant currentTime, Duration passwordMaxChangeTimeInDays) void
UserAddedNotificationMailer.sendUserAddedNotification
(User user) Sends a notification to a new Crowd user. -
Uses of MailSendException in com.atlassian.crowd.manager.mailer.reminder
Modifier and TypeMethodDescriptionvoid
ForgottenLoginMailer.mailResetPasswordLink
(User user, String resetLink) Mails the reset password link to theuser
.void
ForgottenLoginMailer.mailUsernames
(User user, List<String> usernames) Mails the list of usernames to theuser
. -
Uses of MailSendException in com.atlassian.crowd.manager.useradded
Modifier and TypeMethodDescriptionvoid
UserAddedNotificationManager.sendUserAddedNotification
(User user) Publishes aUserAddedNotificationEvent
to be consumed by the appropriate listeners -
Uses of MailSendException in com.atlassian.crowd.plugin.rest.service.controller
Modifier and TypeMethodDescriptionMailServerController.testMailServer
(MailServerConfigurationEntity connectionTestData) -
Uses of MailSendException in com.atlassian.crowd.plugin.rest.service.controller.email
Modifier and TypeMethodDescriptionvoid
ChangeEmailController.resendValidationToken()
void
ChangeEmailController.startEmailValidation
(EmailValidationRequestEntity emailValidationRequestEntity) -
Uses of MailSendException in com.atlassian.crowd.plugin.rest.service.resource.admin
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
MailServerResource.testMailServerConnection
(MailServerConfigurationEntity connectionTestData) -
Uses of MailSendException in com.atlassian.crowd.plugin.rest.service.resource.email
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
ChangeEmailResource.resendValidationToken()
javax.ws.rs.core.Response
ChangeEmailResource.startEmailValidation
(EmailValidationRequestEntity emailValidationRequestEntity) -
Uses of MailSendException in com.atlassian.crowd.service.email
Modifier and TypeMethodDescriptionvoid
EmailChangeManagerImpl.resendEmail
(String username, long directoryId) void
EmailChangeManagerImpl.sendEmailAuthorization
(String username, String password, long directoryId, String newEmail) void
ChangeEmailLinkMailer.sendInfoEmail
(User user, String receiverEmail, String newEmail) void
ChangeEmailLinkMailer.sendValidationEmail
(User user, String emailAddress, String changeEmailLink)
MailManager.sendEmail(com.atlassian.crowd.manager.mail.EmailMessage)
instead