我有同样的配置,在Liferay7.0和它是工作。但是,我在Liferay7.3上移动的配置显示了下面的日志,它不发送电子邮件。
2021-05-05 06:26:15.292 WARN [liferay/mail-3][MailMessageListener:135] Email test@liferay.com will be ignored because it is included in mail.send.blacklist
2021-05-05 06:26:15.295 WARN [liferay/mail-3][MailMessageListener:52] Skipping email because the sender is not specified发布于 2021-05-09 10:57:02
在LPS 84320之后,Liferay拒绝在安装中未配置发件人时发送邮件。
以下默认电子邮件被视为无效、未配置的电子邮件:noreply@liferay.com, test@liferay.com, noreply@domain.invalid, and test@domain.invalid
为了避免这种警告跟踪和邮件问题,您必须在门户-ext.properties中配置正确的电子邮件:
admin.email.from.address=...your admin user email...
announcements.email.to.address=...your no-reply email...有关更多信息,请参见:
https://stackoverflow.com/questions/67432577
复制相似问题