@Bean
    public MailSender springMailSender(AlarmSenderProperties alarmSenderProperties,
                                       UserGroupService userGroupService,
                                       JavaMailSenderImpl mailSender) {
        return new SpringSmtpMailSender(alarmSenderProperties, userGroupService, mailSender);
    }
JavaMailSenderImpl Properties
<a href="https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html">...</a>
batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/AlarmSenderConfiguration.java