MIME protocol 说明
按照 《张孝祥Java邮件开发详解》 自己create了 emali, 其中jpg 和wav文件格式过大,删除了写内容
From redhat@diego.com Mon Nov 17 03:15:30 2014
Subject: MIME protocol instruction
From: redhat <redhat@diego.com>
To: redhat@diego.com
Content-Type: multipart/mixed; boundary="=-RupI3c4lXME8bff/ft/d"
Message-Id: <1416222929.8632.26.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.2)
Date: Mon, 17 Nov 2014 03:15:30 -0800
X-Evolution-Format: text/html
X-Evolution-Account: 1415963235.8127.20@utm-vm14
X-Evolution-Transport: smtp://@100.1.1.2/;use_ssl=never
X-Evolution-Fcc: mbox:/root/.evolution/mail/local#Sent --=-RupI3c4lXME8bff/ft/d
Content-Type: multipart/related; type="multipart/alternative"; boundary="=-tdy2lUVnR0qeIVXQPjCf" --=-tdy2lUVnR0qeIVXQPjCf
Content-Type: multipart/alternative; boundary="=-3hvN6+0KTxm6eZoLZtuO" --=-3hvN6+0KTxm6eZoLZtuO
Content-Type: text/plain
Content-Transfer-Encoding: 8bit welcome to our website. --=-3hvN6+0KTxm6eZoLZtuO
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
<A HREF="www.baidu.com">welcome to our website.</A><BR>
<BR>
<IMG SRC="cid:1416222913.8632.22.camel@localhost.localdomain" ALIGN="bottom" BORDER="0">
</BODY>
</HTML> --=-3hvN6+0KTxm6eZoLZtuO-- --=-tdy2lUVnR0qeIVXQPjCf
Content-ID: <1416222913.8632.22.camel@localhost.localdomain>
Content-Disposition: attachment; filename=201875-120HGS10143.jpg
Content-Type: image/jpeg; name=201875-120HGS10143.jpg
Content-Transfer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QPjCf-- --=-RupI3c4lXME8bff/ft/d
Content-Disposition: attachment; filename=dingdong.WAV
Content-Type: audio/x-wav; name=dingdong.WAV
Content-Transfer-Encoding: base64 UklGRqynAABXQVZFZm10IBAAAAABAAEAIlYAAESsAAACABAAZGF0YUCnAAAAAP//AAD//wAA//8A
/wAAAAAAAAAAAAABAAIAAgABAAEAAQABAAAAAAAAAAAAAAAAAP///v///wAA////////AAAAAAAA
AAAAAAAAAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAD//wAAAAAAAAAA//8AAAAAAAAAAP//AAAA
............................................
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA//8AAAAAAAD/////
AAAAAAAA/////wAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAA/v///wAA////
////AAAAAAAAAAAAAAAAAQAAAAAAAAAAAAEAAQAAAAAAAAAAAAAAAAD//wAAAAAAAP///v///wAA
AAD//wAAAAAAAAAAAAAAAAAAAQABAAAAAAAAAAEAAAAAAAAAAAAAAAAA///+////AAD///////8A
AAAAAAAAAAAAAAABAAEAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAP//AAAAAAAAAAD//wAAAAAAAAAA
AAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMSVNU
QAAAAElORk9JU0ZUFQAAAFNvbnkgU291bmQgRm9yZ2UgNy4wAABJRU5HAgAAACAASUNSRAsAAAAy
MDAzLTEwLTI5AAI= --=-RupI3c4lXME8bff/ft/d
Content-Disposition: attachment; filename=cleanfile.exe
Content-Type: text/plain; name=cleanfile.exe; charset=us-ascii
Content-Transfer-Encoding: 8bit this is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean filethis is a clean file
--=-RupI3c4lXME8bff/ft/d--
其格式如下
MIME protocol 说明的更多相关文章
- MIM协议与Base64编码
MIME Protocol 1. MIME的全称是"Multipurpose Internet Mail Extensions",中译为"多用途互联网邮件扩展" ...
- RFC 2616
Network Working Group R. Fielding Request for Comments: 2616 UC Irvine Obsoletes: 2068 J. Gettys Cat ...
- vagrant虚拟机共享目录在windows宿主下的禁忌
问题背景 宿主环境:Windows10 开发环境:vagrant(ubuntu) 操作目录:synced_folder (共享目录 ) 执行命令:npm install 错误信息: npm ERR! ...
- npm install Error:EPROTO: protocol error, symlink '../mime/cli.js' -> '/vagrant/src/nodejs/node_modules/express/node_modules/send/node_modules/.bin/mime'
我在ubuntu上使用npm安装依赖是出现下面错误: npm ERR! Linux 3.13.0-101-genericnpm ERR! argv "/usr/bin/nodejs" ...
- Bittorrent Protocol Specification v1.0 中文
翻译:小马哥 日期:2004-5-22 BitTorrent 是一种分发文件的协议.它通过URL来识别内容,并且可以无缝的和web进行交互.它基于HTTP协议,它的优势是:如果有多个下载者并发的下载同 ...
- RTSP RTSP(Real Time Streaming Protocol),RFC2326,实时流传输协议,是TCP/IP协议体系中的一个应用层协议
RTSP 编辑 RTSP(Real Time Streaming Protocol),RFC2326,实时流传输协议,是TCP/IP协议体系中的一个应用层协议,由哥伦比亚大学.网景和RealNetwo ...
- IMAP(Internet Mail Access Protocol,Internet邮件访问协议)以前称作交互邮件访问协议(Interactive Mail Access Protocol)。
IMAP(Internet Mail Access Protocol,Internet邮件访问协议)以前称作交互邮件访问协议(Interactive Mail Access Protocol).IMA ...
- Resumable uploads over HTTP. Protocol specification
Valery Kholodkov <valery@grid.net.ru>, 2010 1. Introduction This document describes applicatio ...
- MIME协议生成邮件
MIME协议生成一封复杂的邮件 MIME协议是对RFC822文档的升级和补充,用MIME协议能生成一封有文字.图片和附件的复杂邮件.首先要导入activation.jar和mail.jar.Mail. ...
随机推荐
- windows远程连接Ubuntu12.04 (Ubuntu14.0连接方式不一样)
参考 http://www.cnblogs.com/jerome-rong/archive/2012/08/16/2642035.html 有两种方式:Vnc方式(优缺点)和xrdp模式 中提到的Vn ...
- bzoj 2770 堆的中序遍历性质
我们知道二叉搜索树的中序遍历是一个已经排好序的序列,知道序列我们无法确定树的形态(因为有多种). 但是,Treap如果告诉我们它的关键字以及权值,那么就可以唯一确定树的形态(Treap的O(logn) ...
- bzoj 1911: [Apio2010]特别行动队 -- 斜率优化
1911: [Apio2010]特别行动队 Time Limit: 4 Sec Memory Limit: 64 MB Description Input Output Sample Input 4 ...
- python 用gensim进行文本相似度分析
http://blog.csdn.net/chencheng126/article/details/50070021 参考于这个博主的博文. 原理 1.文本相似度计算的需求始于搜索引擎. 搜索引擎需要 ...
- iOS 画圆
_demoView = [[UIView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)]; [self.view addSubview:_de ...
- corosync
前提: )本配置共有两个测试节点,分别node1.magedu.com和node2.magedu.com,相的IP地址分别为172.: )集群服务为apache的httpd服务: )提供web服务的地 ...
- High-current supply uses standard three-terminal regulator
Voltage-regulator design for high output currents can be a critical and difficult task. Although vol ...
- ArcGIS For Android ExportTileCache应用
说明:从ArcGIS For Android10.2.4 ,開始支持下载在线地图服务切片缓存到移动设备本地.以便离线时进行地图浏览.本文章摘要介绍,使用自己公布的服务时,须要注意的内容. 一.首先公布 ...
- 黑马day16 jquery入门
jquery: 1.jQuery 对象就是通过jQuery包装DOM对象后产生的对象. jQuery对象是jQuery独有的.假设一个对象是jQuery对象,那么它就能够使用jQuery里的方法:$( ...
- 在pycharm中进行nosetests并输出测试报告
1.首先配置