SendingAttachment.contentFile
SendingMessage.contentTextFile
.
EmailInfo emailInfo = EmailInfo.create()
.setAddresses("john.doe@company.com,jane.roe@company.com")
.setSubject("Company news")
.setBody("Some content")
.build();
EmailInfo emailInfo = EmailInfo.create("john.doe@company.com,jane.roe@company.com", "Company news", "Some content").build();
EmailerProperties.isSendAllToAdmin()
()} is enabled, regardless of actual recipient.SendingStatus.SENDING
status
to be successfully sent or failed.JavaMailSender
.