kaisellgren / mailer

Compose and send emails from Dart. Supports file attachments, HTML emails and multiple transport methods.
MIT License
166 stars 86 forks source link

Allow custom headers in attachments. #224

Closed dsyrstad closed 1 year ago

dsyrstad commented 1 year ago

This change allows custom headers in attachments. This is useful for adding, for example, "X-Attachment-Id" to an attachment, which is used by gmail when referencing an image in <img src="cid:...">.

close2 commented 1 year ago

Thanks!