Message Size Limit Different between Outlook and PowerShell? RRS feed

  • Question

  • Hello,

    Recently I noticed that if I use Outlook 2010 to send email with attachment, the maximum attachment size is just less than 30Mb.
    But if I use PowerShell to send an email, it only allows about less than 15Mb.

    In PowerShell, I tried Send-MailMessage, and also tried using the Net.Mail.MailMessage object. Regardless if I use default credential or my own credential, the result's the same.

    Does anyone know why this difference between Outlook and PowerShell? If there are any settings to configure in Exchange, where can these settings be found?

    Many thanks for your suggestions.

    Monday, July 23, 2018 11:54 PM

All replies

  • Hi Conway,

    have you checked the message size limit for the in the web.config file in EWS virtual directory? 



    Tuesday, July 24, 2018 1:35 AM