I looked up the error code in MSDN and got the following:
Error Codes
When you use the Microsoft CRM SDK, you call the APIs through the SOAP interface. The following code sample shows how to catch any errors that occur:
Example
[C#]
catch (System.Web.Services.Protocols.SoapException err)
{
strErrorMsg = ("ErrorMessage: " + err.Message + " " +
err.Detail.OuterXml + " Source: " + err.Source );
}
This code produces the following output when an error occurs (formatting added for readability):
Soap Exception Detail (Detail.OuterXml):
<detail>
<error>
<code>80040220</co de>
<description>
The user does not hold the necessary privileges.
</description>
<details>
The caller does not hold the privilege with ID: {A8BFF87F-0DF0-41D4-BABD-F093FAF1E32C}
</details>
&l t;/error>
</detail>
When I looked up the error code, I found this:
|
IDS_INVALID_ASSOCIATION |
80040211 |
Invalid association. |
I didn't see this adding a lot of insight.
I got the forum to work by simply chaning the SMTP mail server address from the IP address to the FQN domain name. After that, it seems to be working. This kind of stuff scares me, when a seemingless meaningless change makes a system behave different.

Any clues?
