Today's Problem - Grin with cat attached — LiveJournal
|Today's Problem||Dec. 17th, 2002 04:05 pm|
consists of trying to write PHP code to produce a multipart-MIME email newsletter with both HTML and plaintext parts, the images for the HTML being also included in the email, rather than downloaded by http on delivery.|
I can get the email to take, the HTML/txt alternative block, I can base64 encode the image, and I can get them all to appear in the delivered email, which seems happy to display txt or HTML as appropriate.
But trying to load an img tag with a cid: src is just beyond me. Is the Content-ID supposed to be globally unique or summat?
Update. Ah! multipart/mixed != multipart/related. D'oh.