bertjohnson / OpaqueMail

.NET email library and proxy supporting IMAP, POP3, and SMTP with S/MIME and PGP.

Home Page:https://opaquemail.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html template support?

itneste opened this issue · comments

Hey,OpaueMail is great.If i want to send an email which is html format,and it has pictures(not attachment) like edm.I mean pictures insert as resources,not like ,is that supported?

Hey itneste - all image formats and embedding options should work. Some users attach the files and reference them using CID. Others base-64 encode and embed the blob directly in the message. The first option has advantages if reusing an image, but the second is more portable. The biggest downside with base-64 encoding is inefficiency, leading to larger messages, but it shouldn't be a problem with small / optimized images.

Here's a reference for embedding images in emails: https://sendgrid.com/blog/embedding-images-emails-facts/