[java] javamail+freemarker generates mail template and sends mail

I. Preface In the last blog, a small editor introduced you. Send mail with attachments It's also good to practice. This blog paves the way for the next blog, because a push function is needed in the project to display the push information flexibly to an inherent template. So in order to achieve this goal, freemarker is introduced into the edi ...

Posted by ilight on Thu, 27 Jun 2019 00:20:59 +0200

Use spring to send mail (including tests, source code, comments)

This article mainly talks about the use of spring configuration to achieve mail delivery, compared with the previous low-level implementation is much simpler, only a few configurations can be used, so please look down: Write an interface first /** * @Title: IMailserdService.java * @Package org.service * @Description: TODO The main functio ...

Posted by uramagget on Wed, 26 Jun 2019 20:55:55 +0200