Using inline images increases the overall size of your email, slowing down sending. They also aren’t well supported by web based email clients — such as Gmail, or Yahoo! Mail. We recommend linked images hosted on a server.
Sending with Inline Images
Sendwithus' API takes an array of file objects in the “inline” parameter of the send call. An inline object consists of an “id” and a “data” key.
Sample Request Code
In your API request use the inline parameter to add your Base64 encoded image as the “data” and also give it an “id”, like the file name.
Sample Image Tag
Then in your template HTML add the image tag using the id you gave your image in the request:
Refer to our Sending API for more information.