AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 11.09.2014, 21:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
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:
  • Connector type: On premises
  • Opportunistic TLS
  • Domain restrictions: None
  • Scope: *
  • Sender IP Addresses: external IP address of the AOS
I hope this helps.

Bertrand




Источник: http://blogs.msdn.com/b/axsupport/ar...ge-online.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Dynamics AX 2012 / R2 Retail: Switch from online to offline database is slow Blog bot DAX Blogs 0 19.11.2013 14:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 12 Blog bot Dynamics CRM: Blogs 0 30.01.2013 01:11
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02
dynamic-ax.co.uk: Import Emails from Outlook 2007 into Dynamics AX 2009 Blog bot DAX Blogs 1 03.07.2009 07:17
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:41.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.