Struts2 Email Confirmation Library

I just want to know if the email confirmation feature is sent out of the box for the struts2 frame. I use spring security to handle my login, so something that connects to this will really be useful.

A “confirmation letter” consists of a service that sends emails with unique tokens and a service that receives these tokens and confirms that your letter is valid.

I also want to note that I was looking for a feature (like a plugin or something else), as it seems like a pretty standard way to confirm mail. I myself implemented this function in my application, but worked for half a day, I would like to spend on other things.

+3
source share
1 answer

Since you are using Spring already, it is possible:

org.springframework.mail.MailSender

will work for you.

http://static.springsource.org/spring/docs/2.0.x/reference/mail.html

+1
source

Source: https://habr.com/ru/post/1772610/


All Articles