flask-mail icon indicating copy to clipboard operation
flask-mail copied to clipboard

Allow custom media subtypes

Open amikholap opened this issue 9 years ago • 2 comments

Hi.

I've added Message constructor argument to override default MIME subtype name (mixed for multipart, plain for text).

multipart/mixed subtype caused problems in some email clients when I tried to inline images using CIDs. As this RFC states CIDs are supposed to work if message content type is multipart/related which tells the client to assume that some parts are related to others. Otherwise all parts are assumed to be self contained and CID link may not work.

Thanks!

amikholap avatar Mar 30 '15 17:03 amikholap

Is it possible to do this without modifying the current version?

omardlhz avatar Nov 07 '17 20:11 omardlhz

Fixed my issue of hmtl+text emails with embedded images using CID.

Thanks a lot !

eLvErDe avatar Dec 19 '17 14:12 eLvErDe