fluent-smtp icon indicating copy to clipboard operation
fluent-smtp copied to clipboard

Issues with sending attachments using SMTP Protocol through Outlook 365 API

Open thomascytsang opened this issue 3 years ago • 2 comments

When sending emails without attachments, it delivers. When sending emails with attachments it fails.

Emails keep failing to send via outlook smtp even though they are correct: { "code": 423, "message": "Something with wrong with Outlook API. Please check your API Settings", "errors": [ "Something with wrong with Outlook API. Please check your API Settings" ] }

thomascytsang avatar Mar 21 '22 15:03 thomascytsang

Having the same issue on Outlook 365 API but only with attachments > 4MB. Smaller attachments are successfully delivered.

amaurylam avatar Apr 08 '22 11:04 amaurylam

Yup, looks like there are two separate methods for including attachments depending if they are more or less then 3mbs.

https://learn.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http

djrm911 avatar Oct 07 '22 20:10 djrm911