chunlai996
chunlai996
my code: ``` public Mailer mailer() { return MailerBuilder.withSMTPServer(emailProperties.getHost(),emailProperties.getPort(),emailProperties.getUsername(),emailProperties.getPassword()) .withTransportStrategy(TransportStrategy.SMTPS) .withSessionTimeout(60 * 1000) .withThreadPoolSize(10) .withConnectionPoolCoreSize(4) .buildMailer(); } email = EmailBuilder.startingBlank() .withPlainText(template) .from(emailProperties.getUsername()) .withSubject(emailTemplate.getName()) .toMultiple(sendEmailDto.getToEmails()).buildEmail(); AsyncResponse asyncResponse = mailer.sendMail(email,true); ``` below...