Показать сообщение отдельно
Старый 31.10.2008, 10:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
palleagermark: Setting up E-mail parameters on the AX 2009 VPC July 2008 image
Источник: http://palleagermark.blogspot.com/20...n-ax-2009.html
==============

In order to send e-mail within this image, you need to setup SMTP parameters in AX:

Go to Administration / Setup / E-mail parameters:

Default in the form you'll find the follwing settings:
SMTP port number: 25
Attachment size limit (MB): 10

Enter the following new values:
Outgoing mail server: contoso.com
Local computer name: dynamicsvm

And here is a small job to see if mail can be send:


X++:
static void testMail(Args args)
{
SysMailer   sysMailer = new SysMailer();
;
sysMailer.quickSend("administrator@contoso.com", "administrator@contoso.com", "Suject", "Body");
}
Please note that the test mail might end up in your Outlook junk-mail folder.

Источник: http://palleagermark.blogspot.com/20...n-ax-2009.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.