Outlook 2011 and the really low email attachment size limit
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:
- On your Exchange server go to “C:\Program Files\Microsoft\Exchange Server\ClientAccess\exchweb\ews”
- Make a copy the “web.config” file – just in case you break something.
- Open up the “web.config” file in notepad or Notepad++ (if you’re badass)
- Find the line with the following “httpRuntime maxRequestLength=”13280″”
- Change the 13280 value to whatever you want. Note that this value is in KB.
- Save and close the file
- Next, you’ll want to repeat steps 1-6 with the “web.config” files in the “\ClientAccess\owa” and “\ClientAccess\sync” folders.
- Open up the command prompt and enter “CD %windir%\system32\inetsrv”
- 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.
- Enter the “iisreset” command
- Take a moment to reflect on how awesome you are for winning.