Class EmailManager


  • @Component
    public class EmailManager
    extends Object
    Author:
    swagner
    • Constructor Detail

      • EmailManager

        public EmailManager()
    • Method Detail

      • getString

        public static String getString​(String key)
      • sendMail

        public void sendMail​(String username,
                             String email,
                             String hash,
                             boolean sendEmailWithVerficationCode,
                             Long langId)
        sends a mail address to the user with his account data
        Parameters:
        username - - login of the registered user
        email - - email of the registered user
        hash - - activation hash
        sendEmailWithVerficationCode - - if email with verification code should be sent
        langId - - language Id