Closed yuseok-kim-edushare closed 3 days ago
This pull request includes several updates to the email sending functionality and template configurations in the authservice module. The changes enhance email encoding, improve error handling, and update the email template styling.
authservice
Enhancements to email sending functionality:
MailSendingImplWithSpringMail.java
UnsupportedEncodingException
Updates to template configurations:
ThymeleafConfig.java
Styling updates to email templates:
BaseMailBody.html
This pull request includes several updates to the email sending functionality and template configurations in the
authservice
module. The changes enhance email encoding, improve error handling, and update the email template styling.Enhancements to email sending functionality:
MailSendingImplWithSpringMail.java
: Added support for UTF-8 encoding and improved error handling by includingUnsupportedEncodingException
. [1] [2] [3]MailSendingImplWithSpringMail.java
: Introduced a method to validate email addresses using a regular expression.Updates to template configurations:
ThymeleafConfig.java
: Enabled Spring Expression Language (SpEL) compiler and disabled template caching for the Thymeleaf template resolver. [1] [2]Styling updates to email templates:
BaseMailBody.html
: Added meta tags for UTF-8 charset and updated the font to 'Roboto' for better styling consistency. [1] [2]