Binding function of e-mail by sending an email javamail

1, user registration, enter the mail  

2, Javamail technology, an activation email is sent to the user's mailbox, containing the activation code  

3, the user within 24 hours, you can click the link to activate the message, binding the mailbox for the user mailbox activation code for 24 hours, and how to do it? --- Redis achieve

1 . By  javamail  send a message   

"Send new BOS project information _chapter05_03 Redis course \ Mail" Import from MailUtils Tools

Add coordinates javamail pom.xml configuration, addition common_parent  

Send e-mail configuration parameters

Edit Send message body

Configuring the client licensing Netease open

Guess you like

Origin blog.csdn.net/qq_40208605/article/details/92587866
Recommended