I am having trouble working out how I can send multiple inline messages using the Mailgun api, from a Python app using the requests library. Currently I have (using jinja2 f
Sending Inline Images is documented here.
In the HTML, you'll reference the image like this:
Inline image here:
Then, define a Multidict, to post the files to the API:
files=MultiDict([("inline", open("files/test.jpg"))])
Disclosure, I work for Mailgun. :)