Export (0) Print
Expand All

Outbound Provider Configuration Settings

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

The following settings are specific to outbound providers. Be aware that all time intervals in the configuration file are specified in milliseconds.

Tag NameDescription
UserIdIdentifies the Microsoft Dynamics CRM ID of the user whose outgoing e-mail messages should be processed. Multiple UserId tags are supported within ProviderConfiguration tags.
QueueIdIdentifies the Microsoft Dynamics CRM ID of the queue whose outgoing e-mail messages should be processed.
EmailUseSslSpecifies if the Secure Sockets Layer protocol should be used when it sends e-mail messages. Supported values are true and false.
DeliveryMethodIdentifies the delivery method for sending e-mail. Supported values are the same as is used in System.Net.Mail.SmtpDeliveryMethod.
PendingStatusDelayDefines the time period delay after the last e-mail send action. The E-mail Router delays this period of time before it sends out e-mail again.
SendingStatusDelayDefines the time period delay after which an unsent e-mail should be reprocessed.
CodePageDefines the codepage to be used when it sends e-mail.
MaximumDeliveryAttemptsDefines the maximum number of tries performed by the E-mail Router to send the e-mail out. If the maximum threshold is reached, the status of the e-mail in Microsoft Dynamics CRM will be set to "Failed".
BatchSizeDescribes how many users and queues to batch together when it makes one BackgroundSendEmail request. The BackgroundSendEmail request is made to download pending e-mail messages from Microsoft Dynamics CRM.
RequestBatchSizeDefines the maximum number of e-mail messages to download in one BackgroundSendEmail request.

Example

The following code shows an example of a ProviderConfiguration settings XML fragment for an outbound provider in the configuration XML file.

<ProviderConfiguration deploymentId="fd880e79-6f1b-4e40-aa05-628b845653fb">
   <ProviderAssembly>Microsoft.Crm.Tools.EmailProviders.dll</ProviderAssembly>
   <ProviderClass>
      Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider
   </ProviderClass>
   <CrmServerUrl>http://serverName/organizationName</CrmServerUrl>
   <CrmAuthMode>WindowsAuthentication</CrmAuthMode>
   <CrmUser>domainName\administrator</CrmUser>
   <CrmPassword>
      {2A48C4DB-F2BF-48DF-A8EF-20F531EA9BAA}:jEPrLEnKMdMI+jgjIAabJg==@0HlCR312abwYDupnkrAi8A==
   </CrmPassword>
   <EmailServer>emailServerName</EmailServer>
   <EmailAuthMode>WindowsAuthentication</EmailAuthMode>
   <UserId>9e80ac64-c82d-dd11-8246-0013720ec2db</UserId>
   <UserId>17d87ab0-c62d-dd11-8726-0013720ec2db</UserId>
   <Target>emailServerName</Target>
   <Direction>Outbound</Direction>
   <LogLevel>1</LogLevel>
   <CacheCapacity>1024</CacheCapacity>
   <ConnectionTimeout>300000</ConnectionTimeout>
   <PollingPeriod>60000</PollingPeriod>
   <MaxMessageCount>1000</MaxMessageCount>
   <EmailPort>25</EmailPort>
   <EmailUseSsl>false</EmailUseSsl>
   <DeliveryMethod>Network</DeliveryMethod>
   <PendingStatusDelay>30000</PendingStatusDelay>
   <SendingStatusDelay>60000</SendingStatusDelay>
   <CodePage>Utf-8</CodePage>
   <MaximumDeliveryAttempts>10</MaximumDeliveryAttempts>
   <BatchSize>5</BatchSize>
   <RequestBatchSize>5</RequestBatchSize>
</ProviderConfiguration>

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft