Sending email (SendEmail or SendSmtpEmail) with attachement generates Exception
Closed this issue · 2 comments
francois92 commented
Sending email (SendEmail or SendSmtpEmail) with attachement generates Exception
rndbblnn commented
Same issue here, sending the base64 string directly into the HTTP request works fine. I believe it has something to do with the client's byte[] conversion to String
ekta-slit commented
Hello @francois92,
Thanks for reporting the issue, it has been fixed.
Now for the runtime attachments you just need to pass the byte array of the attachment and it will be encoded to base64 chunk data at our end.
Please refer the sample here https://github.com/sendinblue/APIv3-java-library/blob/master/src/test/java/sendinblue/JsonTest.java
Thanks