上机日志提示如图:
用户[email]erp@proifm.com[/email]发送邮件到[email]weiyang.tang@proifm.com[/email]失败。详细信息:
错误消息: 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);