karastojko / mailio

mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP protocols. It is based on standard C++ 17 and Boost library.
Other
372 stars 98 forks source link

How to handle the inline image in the mime data? #158

Closed lofonder closed 4 months ago

lofonder commented 5 months ago

How to handle the mime of inline format .the html file contained the image file with src="cid:logo.png",is there any good ideas to handle this data? Do I need to replace the cid:logo file with using regrex?

By the way,cause there're so many formats of the mime which not unstandard.Such as multipart/alternative contained the text only.So is there any simply and easier way to handle these datas so that I could see the whole message without lossing any parts of the mime?

karastojko commented 5 months ago

Can you please provide me an example? Does this issue relate to your problem?