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. ...
随机推荐
- [CodeForces-763C]Timofey and remoduling
题目大意: 告诉你一个长度为n的等差数列在模m意义下的乱序值(互不相等),问是否真的存在满足条件的等差数列,并尝试构造任意一个这样的数列. 思路: 首先我们可以有一个结论: 两个等差数列相等,当且仅当 ...
- Makefile-函数patsubst
比方说你在makefile里定义了一个变量,内容是一堆 .c 文件的的名字,如 SRC = aaa.c bbb.c my.c his.c你可以用 patsubst 根据某种模式,将这些名字改成另外的, ...
- bzoj 2194: 快速傅立叶之二 -- FFT
2194: 快速傅立叶之二 Time Limit: 10 Sec Memory Limit: 259 MB Description 请计算C[k]=sigma(a[i]*b[i-k]) 其中 k & ...
- JAVA容器-重点总结与深度解析
重点内容总结 问题思考 问题思考解析
- Codeforces Round #FF (Div. 1) B. DZY Loves Modification
枚举行取了多少次,如行取了i次,列就取了k-i次,假设行列单独贪心考虑然后相加,那么有i*(k-i)个交点是多出来的:dpr[i]+dpc[k-i]-i*(k-i)*p 枚举i取最大值.... B. ...
- unity 3D + Google Play In-app Billing (IAB)(转) 热度 3
最近由于工作需要,研究unity如何接入Google Play以实现游戏内购买.目前IAB的实现,prime31做的插件比较好,各平台的IAB均有,但费用相对过高(几乎都是70刀左右,可怜穷小子).在 ...
- Matlab中下标,斜体,及希腊字母的使用方法
下面是Matlab官方列出来的Tex代码列表,包含了绝大部分的希腊字母和数学符号. Character Sequence Symbol Character Sequence Symbol Charac ...
- Js组件layer的使用
作为独立组件使用 layer 引入好layer.js后,直接用即可 <script src="layer.js"></script> <script& ...
- 数学图形(2.18)Hyperbolical conical spiral双曲圆锥螺线
双曲圆锥螺线 #http://www.mathcurve.com/courbes3d/spiralehyperbolique/spiralehyperbolique.shtml vertices = ...
- Android触控屏幕Gesture(GestureDetector和SimpleOnGestureListener的使用教程) 分类:Androidandroid实例
1.当用户触摸屏幕的时候,会产生许多手势,例如down,up,scroll,filing等等,我们知道View类有个View.OnTouchListener内部接口,通过重写他的onTouch(Vie ...