org.eclipse.higgins.rpps.core.utils
Class EmailUtils

java.lang.Object
  extended byorg.eclipse.higgins.rpps.core.utils.EmailUtils

public class EmailUtils
extends Object

Author:
Alexander Yuhimenko

Constructor Summary
EmailUtils()
           
 
Method Summary
static String getString(String key)
           
 void sendPasswordResetCode(String emailAddres, String code)
          Send password reset code.
 void sendPasswordUpdatedEmail(String emailAddres)
          Send confirmation for password update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailUtils

public EmailUtils()
Method Detail

getString

public static String getString(String key)

sendPasswordResetCode

public void sendPasswordResetCode(String emailAddres,
                                  String code)
                           throws UnsupportedEncodingException,
                                  javax.mail.MessagingException
Send password reset code.

Parameters:
emailAddres -
code -
Throws:
UnsupportedEncodingException
javax.mail.MessagingException

sendPasswordUpdatedEmail

public void sendPasswordUpdatedEmail(String emailAddres)
                              throws UnsupportedEncodingException,
                                     javax.mail.MessagingException
Send confirmation for password update.

Parameters:
emailAddres -
Throws:
UnsupportedEncodingException
javax.mail.MessagingException