How to create an email with embedded images that is compatible with the most mail clients
问题 We have created a system that allows embedding an image in an outgoing email. Here is the original message our system creates. This example contains an image attachment and an embedded image. Mime-Version: 1.0 From: ... To: ... CC: Subject: test x-sender: ... x-mailer: ... Content-Type: multipart/mixed; boundary=\"-------------...A128803765634794\" ---------------...A128803765634794 Content-Type: multipart/related; boundary=\"-------------...B128803765634796\" ---------------..