Class UserAddedNotificationMailer

java.lang.Object
com.atlassian.crowd.manager.mailer.notification.UserAddedNotificationMailer

public class UserAddedNotificationMailer extends Object
Responsible for creating and sending email notifications to users created in Crowd
Since:
5.2.0
  • Constructor Details

  • Method Details

    • sendUserAddedNotification

      public void sendUserAddedNotification(User user) throws com.atlassian.crowd.exception.InvalidEmailAddressException, MailSendException
      Sends a notification to a new Crowd user. Can contain a link under which the new user can set their password
      Parameters:
      user - the user to be notified. must not be null
      Throws:
      com.atlassian.crowd.exception.InvalidEmailAddressException - if the email address of the user is not valid
      MailSendException - if there was an error while sending the email message