This discussion is archived
1 Reply Latest reply: Apr 30, 2012 11:30 AM by Gautam Singh RSS

Email validation status when it is changed

Grando Journeyer
Currently Being Moderated
Hi all,

Does anyone know if ATG has some out-of-the-box component that validate an email address when it is changed?
I am talking about something like this: I have an user, this user come to the account and change the email, after this an email is sent to confirmate that the new status email is valid.

Someone can help me?

Thanks a lot.
  • 1. Re: Email validation status when it is changed
    Gautam Singh Journeyer
    Currently Being Moderated
    Oracle commerce does provide the functionality you are looking for. But it's easily implement using EmailSender components (SMTLEmailSender for text based emails and TemplateEmailSender for HTML emails).
    Implement following logic custom formhandler or extend ProfileFormHandler.posUpdateUser() method
    1. Send a confirmation email using EmailSender component (Refer Programming guide for details)
    2. Catch EmailInvalidSenderException and add form exception stating email is invalid
    ATG's emailing API relies on DMS and can be asynchronous, make sure you use synchronous messaging.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points