I need to embed multiple images into an email's body. I have tried below code but it does not embed it to the email's body. I am not looking to make it as an attachment
with open(i, 'rb') as f:
my_logo = FileAttachment(
name=i,
content=f.read(),
is_inline=True,
content_type='GIF/Image',
content_id=i,
)
m.attach(my_logo)
Thanks