Dynamics CRM 2011 - Embedded attachments within rich text emails

CRM 2011 Outlook client:

Track email in CRM with embedded attachments in rich text Format.

Before UR7 rich text emails with embedded pictures couldn’t be tracked successfully

(“ Embedded Picture in Rich text email not shown after tracking in CRM, instead, it shows as an attachment with a size of 0.”).

This was fixed after UR7: The RTF e-mails were identified at the time of promoting the Outlook email to CRM and the entire Outlook email were put as an attachment.”

This means the whole Outlook email was used as attachment.

Resolution:

Increase values further:

maxAllowedContentLength:

1. Open IIS manager | Expand “Sites” | Click on “Microsoft Dynamics CRM” | On the right pane under section “IIS”, double click on “Request Filtering”.

2. Now on extreme right pane, click on “Edit Feature Settings…”

3. Put the value for “Maximum allowed content length (Bytes)” as “60000000” | Click “OK”)

maxRequestLength:

1. Open IIS manager | Expand “Sites” | Right Click on “Microsoft Dynamics CRM” and Click “Explore”. (This will open CRM website root folder)

2. Now in that folder locate “Web.Config” file and open that in “Notepad” (open it only in notepad so that we avoid any formatting or corruption of the file. If necessary, take a backup of the file)

3. Now search for string “maxRequestLength” | Change the value to “60000”. Search again, the “maxRequestLength” should be present in two areas in the web.config file – change all of them.

4. Save the web.config file

MaxUploadFileSize:

1. Open SQL Server management studio and execute this query against the corresponding Organization database:

SELECT MaxUploadFileSize, * FROM Organization

Set this to 60000000 as well

Best Regards

Dynamics CRM Team