Outlook 2011 and the really low email attachment size limit

No. Not really.

Anyone with an Exchange 2007 email account who recently upgraded from Office 2008 to 2011 on the Mac might find themselves unable to send emails with attachments that are over 10MB in size.  While Entourage used WebDAV, Outlook 2011 uses Exchange Web Services (EWS) for email access. The default size limit for sending emails using EWS is 10MB. To fix this, you’ll need to edit a few files named “web.config” on the Exchange server, run a few commands and then reboot the sucker just because its a good time.

Here’s what you do:

  1. On your Exchange server go to “C:\Program Files\Microsoft\Exchange Server\ClientAccess\exchweb\ews”
  2. Make a copy the “web.config” file – just in case you break something.
  3. Open up the “web.config” file in notepad or Notepad++ (if you’re badass)
  4. Find the line with the following “httpRuntime maxRequestLength=”13280″”
  5. Change the 13280 value to whatever you want. Note that this value is in KB.
  6. Save and close the file
  7. Next, you’ll want to repeat steps 1-6 with the “web.config” files in the “\ClientAccess\owa” and “\ClientAccess\sync” folders.
  8. Open up the command prompt and enter “CD %windir%\system32\inetsrv”
  9. Enter the following commands:

    “appcmd set config “Default Web Site/ews” -section:requestFiltering -requestLimits.maxAllowedContentLength:#########”

    “appcmd set config “Default Web Site/owa” -section:requestFiltering -requestLimits.maxAllowedContentLength:#########”

    “appcmd set config “Default Web Site/Microsoft-Server-Activesync” -section:requestFiltering -requestLimits.maxAllowedContentLength:#########”

    Note: Replace the # with the values you entered in in the web.config files but this time in bytes. If you entered 100000 in the web.config file, enter 100000000 for the value in the command line.
  10. Enter the “iisreset” command
  11. Take a moment to reflect on how awesome you are for winning.
Further reading:

3 thoughts on “Outlook 2011 and the really low email attachment size limit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s