我将在下面显示一个嵌入图像的电子邮件代码,并通过他的“src”属性在“img”标签上引用该图像,这是正常的,但该图像是附件之一,并由“cid”访问:" 前缀,我认为它的意思是“内容 ID”。
以下是电子邮件正文的 img 部分
<IMG border=3D0 hspace=3D0 alt=3D"" =
align=3Dbaseline=20
src=3D"cid:698DDDB61CF04A4CADC5084C38B7AF38@tvdev01">
现在是内容 ID
------=_NextPart_000_0007_01CE9B3A.AC5A71A0
Content-Type: image/jpeg;
name="sample.JPG"
Content-Transfer-Encoding: base64
Content-ID: <698DDDB61CF04A4CADC5084C38B7AF38@tvdev01>
我在这个来源没有问题,完全没有问题。但我不知道这种特性是否会将这种 HTML 语言变成仅用于电子邮件的特定 HTML 语言,以及这种特定语言是否有名称。
让我们做问:
1)那是一种特定的语言吗?2) 他叫什么名字?3) 在哪里可以找到关于他的文件?
完整的电子邮件代码如下:
From: "paulo" <paulo@techvision.com.br>
To: "qualemail@yahoo.com.br"
Subject: sample of email specific html
Date: Sat, 17 Aug 2013 11:12:28 -0300
MIME-Version: 1.0
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----=_NextPart_000_0007_01CE9B3A.AC5A71A0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Unsent: 1
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01CE9B3A.AC5A71A0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0008_01CE9B3A.AC5A71A0"
------=_NextPart_001_0008_01CE9B3A.AC5A71A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
a text and below the image
------=_NextPart_001_0008_01CE9B3A.AC5A71A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.23501">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2 face=3DArial>a text and below the image</FONT></DIV>
<DIV><FONT size=3D2 face=3DArial><IMG border=3D0 hspace=3D0 alt=3D"" =
align=3Dbaseline=20
src=3D"cid:698DDDB61CF04A4CADC5084C38B7AF38@tvdev01"></FONT></DIV></BODY>=
</HTML>
------=_NextPart_001_0008_01CE9B3A.AC5A71A0--
------=_NextPart_000_0007_01CE9B3A.AC5A71A0
Content-Type: image/jpeg;
name="sample.JPG"
Content-Transfer-Encoding: base64
Content-ID: <698DDDB61CF04A4CADC5084C38B7AF38@tvdev01>
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAVABUDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVp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