0

所以我们使用的是 Alfresco Community Edition 5.2,这个错误只在启动工作流时发生。假设在启动工作流程后,将通过电子邮件通知分配的用户。但相反,会发生以下错误:

2020-06-19 13:24:28,223  ERROR [action.executer.MailActionExecuter] [mailAsyncAction7] Failed to send email to [user] : org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses; nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 553 5.7.1 <user@company.com>: Sender address rejected: not owned by user username; message exceptions (1) are:
    Failed message 1: javax.mail.SendFailedException: Invalid Addresses; nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 553 5.7.1 <user@company.com>: Sender address rejected: not owned by user username

alfresco-global.properties 设置:

mail.host=company.domain.com
mail.port=25
mail.protocol=smtp
mail.encoding=UTF-8
mail.smtp.auth=true
mail.username=username
mail.password=password
mail.from.default=alfresco@company.com

我确定我使用正确的用户名和密码进行 SMTP 身份验证。我在这里想念什么?

4

2 回答 2

0

您能否验证一下您的mail.hostmail.usernamemail.password是否正确?接下来,您可以验证收件人的邮件地址

我认为这些信息之一会导致您的问题。

祝你今天过得愉快

于 2020-06-24T10:48:27.223 回答
0

安装一个测试 smtp 服务器也可能会有所帮助,这将允许验证您的邮件服务器的有效性。FAKESMPT 2.0 是人们与 Alfresco 一起使用的一种产品,默认情况下,Windows 使用端口 25,Linux 平台使用端口 2525。

在这里能找到它:

http://nilhcem.com/FakeSMTP/一旦您确认您的邮件服务器正在发送和接收电子邮件,请相应地更新您的 alfresco-global.properties。

于 2020-10-12T21:58:26.487 回答