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
Currently is used method bodyToString of MIME attachment, which generates base64 string of body split into chunks by max-line-length for MIME. This is not correct behavior for Mailersend API which requires not-splitted base64 encoded string of body.
How to reproduce
Send email with attachment via Mailersend API integration. Error occurs if base64 encoded body string of attachment has more than 76 characters. Mailersend API response with: The value must be an Base64 encoded string.