AX fail to send mail by SMTP , COM error code 0x80040211, 0x8004020f
2009-12-15 10:26
1441 查看
The error code is as below:
"Method 'send' in COM object of class 'CDO.Message' returned error code 0x8004020E (<unknown>) which means: <unknown>."
How To Fix This:
If you get any errors related to SMTP transport then the cause is either SMTP settings (relay address/port, relay authentication parameters, etc), or email settings (for instance, invalid/prohibited to/from/cc/bcc addresses), but not in the SysMailer class.
Steps to fix this:
first, make sure the SMTP server is working, and your account and password are right.
If you are using your own company's SMTP, one way to check the SMTP is using telnet, please refer to this
Then you need to check you setup Email parameters properly in your AX.
Please pay attention to 'UserName', sometimes it is a matter whether you input the full name or only user name.
e.g. if you are using gmail, and your account is test@gmail.com. you may face error 0x80040211 if you input 'test@gmail.com' as 'UserName', you must input 'test' as the 'UserName'.
But most of the time, you may input 'test@gmail.com'.
COM error 0x8004020f: The server rejected one or more recipient addresses
This is happening because your SmtpMail.SmtpServer is rejecting addresses.
Make sure all email addresses specified at MailMessage.To, MailMessage.Cc, MailMessage.Bcc and MailMessage.From are valid email addresses.
Make sure you have permissions to relay through the server.
Make sure the MailMessage.From has permissions to relay through the server.
Please check you email especially when you use a address filter!
"Method 'send' in COM object of class 'CDO.Message' returned error code 0x8004020E (<unknown>) which means: <unknown>."
How To Fix This:
If you get any errors related to SMTP transport then the cause is either SMTP settings (relay address/port, relay authentication parameters, etc), or email settings (for instance, invalid/prohibited to/from/cc/bcc addresses), but not in the SysMailer class.
Steps to fix this:
first, make sure the SMTP server is working, and your account and password are right.
If you are using your own company's SMTP, one way to check the SMTP is using telnet, please refer to this
Then you need to check you setup Email parameters properly in your AX.
Please pay attention to 'UserName', sometimes it is a matter whether you input the full name or only user name.
e.g. if you are using gmail, and your account is test@gmail.com. you may face error 0x80040211 if you input 'test@gmail.com' as 'UserName', you must input 'test' as the 'UserName'.
But most of the time, you may input 'test@gmail.com'.
COM error 0x8004020f: The server rejected one or more recipient addresses
This is happening because your SmtpMail.SmtpServer is rejecting addresses.
Make sure all email addresses specified at MailMessage.To, MailMessage.Cc, MailMessage.Bcc and MailMessage.From are valid email addresses.
Make sure you have permissions to relay through the server.
Make sure the MailMessage.From has permissions to relay through the server.
Please check you email especially when you use a address filter!
相关文章推荐
- login SMTP send mail error : Unable to read data from the transport connection: net_io_connectionclosed
- com.sun.mail.smtp.SMTPSendFailedException: 503 Error: need EHLO and AUTH first !
- jenkins配置邮件 -- com.sun.mail.smtp.SMTPSenderFailedException: 550 5.7.1 Client does not have permissions to send as this sender
- com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.0 DT:SPM
- error: Unknown SSL protocol error in connection to code.google.com:443 while
- Fixed SMTP Mail Send Validation Error
- com.sun.mail.smtp.SMTPSendFailedException: 554 MI:SPB UserReject 0,smtp7
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/lidroid/xutils/task/TaskHandler;
- 解决530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
- com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
- Error HRESULT E_FAIL has been returned from a call to a COM component.
- 错误编码 = 10022 错误消息 = SDK 组件 Qupaisdk 启动出错,错误消息为 [Qupaisdk], the android stack error message is Fail to start the plugin, which is caused by No implem
- smtpClient发邮件错误:不允许使用邮箱名称。 服务器响应为: You are not authorized to send mail, authentication is required
- Error: Failed to send data by channels – post message failed
- javaMail邮件问题:java.lang.SecurityException: SHA1 digest error for com/sun/mail/smtp/SMTPTransport.class
- com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required 解决方案
- “邮件无法发送到 SMTP 服务器。传输错误代码为 0x80040217. The transport error code was 0x80040217. The server response was not available
- smtpClient发邮件错误:不允许使用邮箱名称。 服务器响应为: You are not authorized to send mail, authentication is required
- the email title about automatic to send invoice by mail
- Send Error:不允许使用邮箱名称。 服务器响应为: You are not authorized to send mail, authentication is required