We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
I am trying to integrate resend for a django app. The issue is that all my images are being sent as attachments instead of inline images.
for image in images: file_path = os.path.join(img_dir, image)
with open(file_path, 'rb') as f: img = MIMEImage(f.read()) img.add_header('Content-ID', '<{name}>'.format(name=image)) img.add_header('Content-Disposition', 'inline', filename=image) msg.attach(img) msg.send()
And in my HTML I am referencing as:
<div align="center"> <img src="cid:image_name.png" width="100" height="100" style=""> </div>
I don't know if resend doesn't support adding headers to the email, but they are being sent as attachments
This is a log from one of my emails,
Thanks in advance
The text was updated successfully, but these errors were encountered:
Might be related to this issue, resend does not seem to support cid attachments resend/resend-node#319
cid
Sorry, something went wrong.
No branches or pull requests
Hello
I am trying to integrate resend for a django app. The issue is that all my images are being sent as attachments instead of inline images.
for image in images:
file_path = os.path.join(img_dir, image)
And in my HTML I am referencing as:
<div align="center"> <img src="cid:image_name.png" width="100" height="100" style=""> </div>
I don't know if resend doesn't support adding headers to the email, but they are being sent as attachments
This is a log from one of my emails,
Thanks in advance
The text was updated successfully, but these errors were encountered: