Unable to send attachments or large emails on iPhone

  • 7014071
  • 08-Nov-2013
  • 10-Dec-2013

Environment

Products:
Novell Data Synchronizer Mobility Pack

Configuration:
Airwatch MDM being used

Situation

ERROR: "Cannot Send Mail - The message was rejected by the server." When trying to send attachments from an iPhone
ERROR: "Cannot Send Mail - The message was rejected by the server because it is too large." When trying to send attachments from an iPhone
Unable to send attachments or large emails from iPhone
Can't send attachments or large emails from iPhone


Resolution

On the Airwatch server, please follow the steps below
  1. Launch a command prompt
  2. Type C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost (We are using 10mb in this case, as it is measured in bytes.  please change to what ever you would like to have as your limit.)
  3. Type C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost
  4. Open Windows services by typing in services.msc in the start search and restart the IISAdmin service to apply the changes