工作流程设置邮件通知对应的人无法收到邮件
1,575次浏览
编辑于2017年01月16日 10:29:30
金蝶k3cloud 5.0 windows server 2008
在进行工作流程审批设置邮件通知,对应申请人无法收到邮件
上机日志报错提示如下:
用户erp@proifm.com发送邮件到sally.li@proifm.com失败。详细信息:
错误消息: Syntax error in parameters or arguments. The server response was: mail from address must be same as authorization user;
错误类型:System.Net.Mail.SmtpException;
错误堆栈: at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Kingdee.BOS.Util.MailUtils.Sendmail(String from, String displayName, List`1 toList, String subject, String body, String SMTPHost, Int32 port, Boolean enableSSL, Dictionary`2 dictStream, String userName, String pass)
at Kingdee.BOS.Workflow.ActionEvents.EmailProvider.SendEmail(Context context, Message msg, String userName, String pass, MailFrom mailFrom);
对应工作流设置如下:
个人用户登录进入也维护了相关的邮箱及密码,测试邮件也发送成功
用管理员administrator 也做了相关的设置
邮件测试发送成功
在进行工作流程审批设置邮件通知,对应申请人无法收到邮件
上机日志报错提示如下:
用户erp@proifm.com发送邮件到sally.li@proifm.com失败。详细信息:
错误消息: Syntax error in parameters or arguments. The server response was: mail from address must be same as authorization user;
错误类型:System.Net.Mail.SmtpException;
错误堆栈: at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Kingdee.BOS.Util.MailUtils.Sendmail(String from, String displayName, List`1 toList, String subject, String body, String SMTPHost, Int32 port, Boolean enableSSL, Dictionary`2 dictStream, String userName, String pass)
at Kingdee.BOS.Workflow.ActionEvents.EmailProvider.SendEmail(Context context, Message msg, String userName, String pass, MailFrom mailFrom);
对应工作流设置如下:
个人用户登录进入也维护了相关的邮箱及密码,测试邮件也发送成功
用管理员administrator 也做了相关的设置
邮件测试发送成功
推荐阅读