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 sent:
static void testMail(Args args) { SysMailer sysMailer = new SysMailer(); ; sysMailer.quickSend("administrator@contoso.com", "administrator@contoso.com", "Subject", "Body"); }
Please note that the test mail might end up in your Outlook junk-mail folder.