Email from IOS with attachments larger than 7.5Mb gets stuck in outbox and constantly tries to resend. Costs us hundreds in data fees

31,949

Take a look at https://technet.microsoft.com/en-gb/library/hh529949(v=exchg.150).aspx

There is an interesting line at the bottom of that page that implies the effective maximum limit is about 33% less then the limit you have configured. Given the default for active sync is 10mb and you are seeing problems around 7, that would make sense.

Try increasing to 20mb and see if that makes a difference.

Share:
31,949

Related videos on Youtube

eltommo
Author by

eltommo

I have completed a computer science/software engineering degree, however I have decided the word of working in programming is not for me. My interest it computers and programming will always remain my hobby though.

Updated on September 18, 2022

Comments

  • eltommo
    eltommo over 1 year

    We have an on premise Exchange 2013 server. When sending email with large attachments from ActiveSync accounts on IOS devices, the email gets stuck in the outbox and won't send. It keeps trying to resend and can cause our users to blow their data allowance and start costing hundreds in data fees. It does not do this when sending from a Gmail account linked on the phone, or from a windows 8 phone.

    I've narrowed down an attachment size of about 7660870 bytes before the issue starts occurring. For a few bytes over this limit, the email will have a failure message, but will still be sent through without the attachment. If you add a few more bytes on, we get the failure message but no email goes through and it gets stuck in the outbox. These sizes are under our allowed size limits for internal and external mail. Additionally, I'm guessing the behavior of this issue depends on the total size of the message including header, body, etc., not just the attachments.

    Has anyone seen this happen before, or have any idea what could be causing this?

    • Drifter104
      Drifter104 almost 9 years
      Something doesn't make sense. If they are using up their data allowance then it would suggest the data is at least leaving the phone, but just not completing
    • eltommo
      eltommo almost 9 years
      Yeah, we're confused by it. If I don't get any luck soon, I'm going to bite the bullet and pay Microsoft the $500 to get some support.
    • IceMage
      IceMage almost 9 years
      It is stuck on the outbox of the phone and not the user's exchange mailbox correct?
    • IceMage
      IceMage almost 9 years
      Also, sometimes the cell carrier can set limitations such as these, check the log files on the exchange server to see if the message could be getting cut off due to network management practices by the carrier.
  • eltommo
    eltommo almost 9 years
    I changed the value to 25M and restarted IIS. Still no success unfortunately.
  • eltommo
    eltommo almost 9 years
    Interesting. I've come across this article so many times but somehow managed to miss this part. I'll have a go at bumping up all the values and see what happens.
  • eltommo
    eltommo almost 9 years
    I've tried increasing all the 1024 values by a factor of 10 and ran iisreset. Still not luck :(
  • eltommo
    eltommo almost 9 years
    I've tested the issue on both the 3G network and our wifi to check this. Same result for both, so I don't think it's a carrier issue.
  • eltommo
    eltommo almost 9 years
    Got it working. I decided to re-check the web.config file in both those locations from the document. For some stupid reason I still had the maxRequestLength="10240" in %ExchangeInstallPath%ClientAccess\Sync\web.config. I don't know what stupid thing I did to not change it the first time, but I bumped it up and now it's working. Thank you for this, I'm overjoyed to see it finally working! You get the bounty.
  • Drifter104
    Drifter104 almost 9 years
    Glad you got it sorted.