title: Is the 3 MB limit for attachments in Microsoft Graph API mail messages cumulative?
body: <p>I have been using Microsoft Graph .NET Client Library to send mail messages for quite a while and it's been working great but today I noticed a very strange problem.</p>
  <p>As of today here are the basic rules for attachments...</p>
  <ul>
  <li>If the file size is under 3 MB, do a single POST on the attachments
  navigation property of the Outlook item; see how to do this for a
  message or for an event. The successful POST response includes the ID
  of the file attachment.</li>
  <li>If the file size is between 3MB and 150MB,
  create an upload session, and iteratively use PUT to upload ranges of
  bytes of the file until you have uploaded the entire file. A header
  in the final successful PUT response includes a URL with the
  attachment ID.</li>
  </ul>
  <p><a href="https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http</a></p>
  <p>So pretty simple. If the attachment is less than 3 MB I simply include it with the message. If it's more then I create an upload session.</p>
  <p>Now for the problem. If there are multiple attachments that add up to a total size that is over that limit I receive the following message...</p>
  <p>The maximum request length supported is 4MB.</p>
  <p>To try and work around this I started upload sessions for the rest of the files after the cumulative limit was hit. However, I then received the following error message...</p>
  <p>Message: Attachment size must be greater than the minimum size.</p>
  <p>This is because there is a minimum size for upload sessions.</p>
  <p><strong>Quick recap: I cannot upload multiple small attachments when the total exceeds the maximum limit. I can't upload them with a session because it is less than the minimum limit. Has anyone noticed this problem?</strong></p>
  <p>Using Microsoft Graph Client Library v3.6</p>