You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send a mail with a big or multiple attachments that exceeds 4 MB.
Package Version
1.4.0
PHP Version
8.1.0
Laravel Version
11.23.5
Which operating systems does with happen with?
macOS
Notes
Maybe use createUploadSession when the attachments exceed 4 MB? I also want to take a look in this and create a pull request for this, but I don’t know when.
What happened?
I tried to send more than 50 MB of attachments. According to the discussion below the endpoint allows a maximum of 4 MB.
https://learn.microsoft.com/en-us/answers/questions/1195604/microsoft-graph-api-request-and-response-max-paylo
How to reproduce the bug
Send a mail with a big or multiple attachments that exceeds 4 MB.
Package Version
1.4.0
PHP Version
8.1.0
Laravel Version
11.23.5
Which operating systems does with happen with?
macOS
Notes
Maybe use createUploadSession when the attachments exceed 4 MB? I also want to take a look in this and create a pull request for this, but I don’t know when.
https://learn.microsoft.com/en-us/graph/outlook-large-attachments
There is a security risk in this, because Mail.ReadWrite permission is required and this allows the user to read all emails of all users.
The text was updated successfully, but these errors were encountered: