Skip to content

Sending email (SendEmail or SendSmtpEmail) with attachement generates Exception #2

Closed

Description

@francois92
No description provided.

Activity

  1. rndbblnn commented on Mar 5, 2018

    @rndbblnn

    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

  2. ekta-slit commented on Mar 7, 2018

    @ekta-slit
    Collaborator

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions