![]() |
#1 |
Участник
|
emeadaxsupport: Sending emails from Dynamics AX to external domains using Exchange Online
Источник: http://blogs.msdn.com/b/axsupport/ar...ge-online.aspx
============== When using Exchange Online as your SMTP server in Dynamics AX 2012, you may have encountered this issue when sending emails, for example notifications, by batch: Method 'send' in COM object of class 'CDO.Message' returned error code 0x8004020F () which means: . The error only occurs when sending emails outside of your organization’s domain, for example to an outlook.com email address. In your test environment you can make a small change to the sysmailer class to get more details on the exception. Basically add a try/catch block as follows: ![]() Compile CIL (incremental), restart your AOS and test again. This time you will get a more detailed error message: The server rejected one or more recipient addresses. The server response was: 550 5.7.0 Relay Access Denied. To resolve this issue you have to configure a connector in your Exchange Online. You will find the details here: http://technet.microsoft.com/en-us/l...xchg.150).aspx Log in to https://portal.office.com with your Admin account, then go to Admin > Exchange > Mail flow > connectors. In the Incoming connectors section click on the + sign and configure your connector in order to allow SMTP relay from your AOS. This is just an example, you should be more restrictive:
Bertrand Источник: http://blogs.msdn.com/b/axsupport/ar...ge-online.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|