Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Jan 14, 2024
1 parent 0061f7b commit 4b20da3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void send(ContactDto contactDto, AuthenticatedUser authenticatedUserOfSender) {
String senderMailAddress = authenticatedUserOfSender.getAuthorities().contains(ROLE_USER)
? authenticatedUserOfSender.getEmail()
: contactDto.getSender();
log.info("Using this: {} as sender address:", senderMailAddress);
SimpleMailMessage mailToSender = mailCreationService.createDancierMessageFromTemplate(
senderMailAddress,
"dev@dancier.net",
Expand Down

0 comments on commit 4b20da3

Please sign in to comment.