帶有Gmail中的嵌入式圖像的HTML郵件 - 帶有以下電子郵件正文 - 只是吐出確切的文字。它沒有顯示「body」標籤內的內容。Gmail中的HTML電子郵件 - 嵌入圖像
這是郵件的內容:
Content-Type: multipart/related;
boundary="bananarepublic12345"
This is a multipart message in MIME format.
--banana12345republic
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>testing embedded image</title>
</head>
<body bgcolor="#000">
<h1> Testing Embedded Image</h1>
<img src="cid:mambo" alt="ALTERNATE TEXT" >
</body>
</html>
--bananarepublic12345
Content-Type: image/jpeg; name=big-image1.jpg
Content-Transfer-Encoding: base64
Content-ID: <mambo>
Content-Disposition: inline;
filename="big-image1.jpg"
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ...//2Q%3D%3D
我要去哪裏錯了?
感謝您的任何建議!
你是如何生成的郵件? – itsols
手動。我只是試圖從Gmail中發送一封簡單郵件,其中包含一個嵌入式圖像。 –