Last active
April 6, 2020 17:38
-
-
Save larsgroeber/e440432067d261c5269ee8e9dcff30be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PreAuthorize("@authorizationService.hasPermission('SEND_MAIL', authentication)") | |
@Override | |
public void sendMail(SendMailRequest request) { | |
MimeMessage message = makeMessage(request); | |
addEmailLog(request); | |
sendMessage(message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment