|
| |||
| Text and Text-Related Types | |||
| HTML text data (RFC 1866) | html htm | text/html | |
| Plain text: documents; program listings | txt c c++ pl cc h | text/plain | |
| Richtext (obsolete - replaced by text/enriched) | text/richtext | ||
| Structure enhanced text | (etx?) | text/x-setext | |
| Enriched text markup (RFC 1896) | text/enriched | ||
| Tab-separated values (tabular) | (tsv?) | text/tab-separated-values | |
| SGML documents (RFC 1874) | text/sgml | ||
| Speech synthesis data (MVP Solutions) | talk | text/x-speech | |
| Document Stylesheet Types | |||
| Cascading Stylesheets | css | text/css | |
| DSSSL-online stylesheets | application/dsssl (proposed) | ||
| Image Types | |||
| GIF | gif | image/gif | |
| X-Windows bitmap (b/w) | xbm | image/x-xbitmap | |
| X-Windows pixelmap (8-bit color) | xpm | image/x-xpixmap | |
| Portable Network Graphics | png | image/x-png | |
| Image Exchange Format (RFC 1314) | ief | image/ief | |
| JPEG | jpeg jpg jpe | image/jpeg | |
| TIFF | tiff tif | image/tiff | |
| RGB | rgb | image/rgb | |
| image/x-rgb | |||
| Group III Fax (RFC 1494) | g3f | image/g3fax | |
| X Windowdump format | xwd | image/x-xwindowdump | |
| Macintosh PICT format | pict | image/x-pict | |
| PPM (UNIX PPM package) | ppm | image/x-portable-pixmap | |
| PGM (UNIX PPM package) | pgm | image/x-portable-graymap | |
| PBM (UNIX PPM package) | pbm | image/x-portable-bitmap | |
| PNM (UNIX PPM package) | pnm | image/x-portable-anymap | |
| Microsoft Windows bitmap | bmp | image/x-ms-bmp | |
| CMU raster | ras | image/x-cmu-raster | |
| Kodak Photo-CD | pcd | image/x-photo-cd | |
| Computer Graphics Metafile | cgm | image/cgm | |
| North Am. Presentation Layer Protocol | image/naplps | ||
| CALS Type 1 or 2 | mil cal | image/x-cals | |
| Fractal Image Format (Iterated Systems) | fif | image/fif | |
| QuickSilver active image (Micrografx) | dsf | image/x-mgx-dsf | |
| CMX vector image (Corel) | cmx | image/x-cmx | |
| Wavelet-compressed (Summus) | wi | image/wavelet | |
| AutoCad Drawing (SoftSource) | dwg | image/vnd.dwg | |
| image/x-dwg | |||
| AutoCad DXF file (SoftSource) | dxf | image/vnd.dxf | |
| image/x-dxf | |||
| Simple Vector Format (SoftSource) | svf | image/vnd.svf | |
| also vector/x-svf | |||
| Audio/Voice/Music Related Types | |||
| "basic"audio - 8-bit u-law PCM | au snd | audio/basic | |
| Macintosh audio format (AIpple) | aif aiff aifc | audio/x-aiff | |
| Microsoft audio | wav | audio/x-wav | |
| MPEG audio | mpa abs mpega | audio/x-mpeg | |
| MPEG-2 audio | mp2a mpa2 | audio/x-mpeg-2 | |
| compressed speech (Echo Speech Corp.) | es | audio/echospeech | |
| Toolvox speech audio (Voxware) | vox | audio/voxware | |
| RapidTransit compressed audio (Fast Man) | lcc | application/fastman | |
| Realaudio (Progressive Networks) | ra ram | application/x-pn-realaudio | |
| NIFF music notation data format | application/vnd.music-niff | ||
| MIDI music data | mmid | x-music/x-midi | |
| Koan music data (SSeyo) | skp | application/vnd.koan | |
| application/x-koan | |||
| Speech synthesis data (MVP Solutions) | talk | text/x-speech | |
| Video Types | |||
| MPEG video | mpeg mpg mpe | video/mpeg | |
| MPEG-2 video | mpv2 mp2v | video/mpeg-2 | |
| Macintosh Quicktime | qt mov | video/quicktime | |
| Microsoft video | avi | video/x-msvideo | |
| SGI Movie format | movie | video/x-sgi-movie | |
| VDOlive streaming video (VDOnet) | vdo | video/vdo | |
| Vivo streaming video (Vivo software) | viv | video/vnd.vivo | |
| video/vivo | |||
| Special HTTP/Web Application Types | |||
| Proxy autoconfiguration (Netscape browsers) | pac | application/x-ns-proxy-autoconfig | |
| See Chapter 6 | application/x-www-form-urlencoded | ||
| See Chapter 9 | application/x-www-local-exec | ||
| See Chapter 9 (Netscape extension) | multipart/x-mixed-replace | ||
| See Chapter 9 and Appendix B | multipart/form-data | ||
| Netscape Cooltalk chat data (Netscape) | ice | x-conference/x-cooltalk | |
| Interactive chat (Ichat) | application/x-chat | ||
| Application Types | |||
| Text-Related | |||
| PostScript | ai eps ps | application/postscript | |
| Microsoft Rich Text Format | rtf | application/rtf | |
| Adobe Acrobat PDF | application/pdf | ||
| application/x-pdf | |||
| Maker Interchange Format (FrameMaker) | mif | application/vnd.mif | |
| application/x-mif | |||
| Troff document | t tr roff | application/x-troff | |
| Troff document with MAN macros | man | application/x-troff-man | |
| Troff document with ME macros | me | application/x-troff-me | |
| Troff document with MS macros | ms | application/x-troff-ms | |
| LaTeX document | latex | application/x-latex | |
| Tex/LateX document | tex | application/x-tex | |
| GNU TexInfo document | texinfo texi | application/x-texinfo | |
| TeX dvi format | dvi | application/x-dvi | |
| MacWrite document | ?? | application/macwriteii | |
| MS word document | ?? | application/msword | |
| WordPerfect 5.1 document | ?? | application/wordperfect5.1 | |
| SGML application (RFC 1874) | application/sgml | ||
| Office Document Architecture | oda | application/oda | |
| Envoy Document | evy | application/envoy | |
| Wang Info. Tranfer Format (Wang) | application/wita | ||
| DEC Document Transfer Format (DEC) | application/dec-dx | ||
| IBM Document Content Architecture (IBM) | application/dca-rft | ||
| CommonGround Digital Paper (No Hands Software) | application/commonground | ||
| FrameMaker Documents (Frame) | doc fm frm frame | application/vnd.framemaker | |
| application/x-framemaker | |||
| Remote printing at arbitrary printers (RFC 1486) | application/remote-printing | ||
| Archive/Compressed Archives | |||
| Gnu tar format | gtar | application/x-gtar | |
| 4.3BSD tar format | tar | application/x-tar | |
| POSIX tar format | ustar | application/x-ustar | |
| Old CPIO format | bcpio | application/x-bcpio | |
| POSIX CPIO format | cpio | application/x-cpio | |
| UNIX sh shell archive | shar | application/x-shar | |
| DOS/PC - Pkzipped archive | zip | application/zip | |
| Macintosh Binhexed archive | hqx | application/mac-binhex40 | |
| Macintosh Stuffit Archive | sit sea | application/x-stuffit | |
| Fractal Image Format | fif | application/fractals | |
| Binary, UUencoded | bin uu | application/octet-stream | |
| PC executable | exe | application/octet-stream | |
| WAIS "sources" | src wsrc | application/x-wais-source | |
| NCSA HDF data format | hdf | application/hdf | |
| Downloadable Program/Scripts | |||
| Javascript program | js ls mocha | text/javascript | |
| application/x-javascript | |||
| VBScript program | text/vbscript | ||
| UNIX bourne shell program | sh | application/x-sh | |
| UNIX c-shell program | csh | application/x-csh | |
| Perl program | pl | application/x-perl | |
| Tcl (Tool Control Language) program | tcl | application/x-tcl | |
| Atomicmail program scripts (obsolete) | application/atomicmail | ||
| Slate documents - executable enclosures (BBN) | application/slate | ||
| Undefined binary data (often executable progs) | application/octet-stream | ||
| RISC OS Executable programs (ANT Limited) | application/riscos | ||
| Animation/Multimedia | |||
| Andrew Toolkit inset | application/andrew-inset | ||
| FutureSplash vector animation (FutureWave) | spl | application/futuresplash | |
| mBED multimedia data (mBED) | mbd | application/mbedlet | |
| Macromedia Shockwave (Macromedia) | application/x-director | ||
| Sizzler real-time video/animation | application/x-sprite | ||
| PowerMedia multimedia (RadMedia) | rad | application/x-rad-powermedia | |
| Presentation | |||
| PowerPoint presentation (Microsoft) | ppz | application/mspowerpoint | |
| PointPlus presentation data (Net Scene) | css | application/x-pointplus | |
| ASAP WordPower (Software Publishing Corp.) | asp | application/x-asap | |
| Astound Web Player multimedia data (GoldDisk) | asn | application/astound | |
| Special Embedded Object | |||
| OLE script e.g. Visual Basic (Ncompass) | axs | application/x-olescript | |
| OLE Object (Microsoft/NCompass) | ods | application/x-oleobject | |
| OpenScape OLE/OCX objects (Business@Web) | opp | x-form/x-openscape | |
| Visual Basic objects (Amara) | wba | application/x-webbasic | |
| Specialized data entry forms (Alpha Software) | frm | application/x-alpha-form | |
| client-server objects (Wayfarer Communications) | wfx | x-script/x-wfxclient | |
| General Applications | |||
| Undefined binary data (often executable progs) | application/octet-stream | ||
| CALS (U.S. D.O.D data format - RFC 1895) | application/cals-1840 | ||
| Pointcast news data (Pointcast) | pcn | application/x-pcn | |
| Excel spreadsheet (Microsoft) | application/vnd.ms-excel | ||
| application/x-msexcel | |||
| application/ms-excel | |||
| PowerPoint (Microsoft) | ppt | application/vnd.ms-powerpoint | |
| application/ms-powerpoint | |||
| Microsoft Project (Microsoft) | application/vnd.ms-project | ||
| Works data (Microsoft) | application/vnd.ms-works | ||
| MAPI data (Microsoft) | application/vnd.ms-tnef | ||
| Artgallery data (Microsoft) | application/vnd.artgalry | ||
| SourceView document (Dataware Electronics) | svd | application/vnd.svd | |
| Truedoc (Bitstream) | application/vnd.truedoc | ||
| Net Install - software install (20/20 Software) | ins | application/x-net-install | |
| Carbon Copy - remote control/access (Microcom) | ccv | application/ccv | |
| Spreadsheets (Visual Components) | vts | workbook/formulaone | |
| Cybercash digital money (Cybercash) | application/cybercash | ||
| Format for sending generic Macintosh files | application/applefile | ||
| Active message -- connect to active mail app. | application/activemessage | ||
| X.400 mail message body part (RFC 1494) | application/x400-bp | ||
| USENET news message id (RFC 1036) | application/news-message-id | ||
| USENET news message (RFC 1036) | application/news-transmission | ||
| Multipart Types (mostly email) | |||
| Messages with multiple parts | multipart/mixed | ||
| Messages with multiple, alternative parts | multipart/alternative | ||
| Message with multiple, related parts | multipart/related | ||
| Multiple parts are digests | multipart/digest | ||
| For reporting of email status (admin.) | multipart/report | ||
| Order of parts does not matter | multipart/parallel | ||
| Macintosh file data | multipart/appledouble | ||
| Aggregate messages; descriptor as header | multipart/header-set | ||
| Container for voice-mail | multipart/voice-message | ||
| HTML FORM data (see Ch. 9 and App. B) | multipart/form-data | ||
| Infinite multiparts - See Chapter 9 (Netscape) | multipart/x-mixed-replace | ||
| Message Types (mostly email) | |||
| MIME message | message/rfc822 | ||
| Partial message | message/partial | ||
| Message containing external references | message/external-body | ||
| Message containing USENET news | message/news | ||
| HTTP message | message/http | ||
| 2D/3D Data/Virtual Reality Types | |||
| VRML data file | wrl vrml | x-world/x-vrml (changing to model/vrml) | |
| WIRL - VRML data (VREAM) | vrw | x-world/x-vream | |
| Play3D 3d scene data (Play3D) | p3d | application/x-p3d | |
| Viscape Interactive 3d world data (Superscape) | svr | x-world/x-svr | |
| WebActive 3d data (Plastic Thought) | wvr | x-world/x-wvr | |
| QuickDraw3D scene data (Apple) | 3dmf | x-world/x-3dmf | |
| Scientific/Math/CAD Types | |||
| Chemical types -- to communicate information about chemical models | chemical/* (several subtypes) | ||
| Mathematica notebook | ma | application/mathematica | |
| Computational meshes for numerical simulations | msh | x-model/x-mesh (evolving to model/mesh) | |
| Vis5D 5-dimensional data | v5d | application/vis5d | |
| IGES models -- CAD/CAM (CGM) data | igs | application/iges (evolving to model/iges?) | |
| Autocad WHIP vector drawings | dwf | drawing/x-dwf | |
Largely Platform-Specific Types | |||
Silicon Graphics Specific Types | |||
| Showcase Presentations | showcase slides sc sho show | application/x-showcase | |
| Insight Manual pages | ins insight | application/x-insight | |
| Iris Annotator data | ano | application/x-annotator | |
| Directory Viewer | dir | application/x-dirview | |
| Software License | lic | application/x-enterlicense | |
| Fax manager file | faxmgr | application/x-fax-manager | |
| Fax job data file | faxmgrjob | application/x-fax-manager-job | |
| IconBook data | icnbk | application/x-iconbook | |
| ? | wb | application/x-inpview | |
| Installable software in 'inst' format | inst | application/x-install | |
| Mail folder | application/x-mailfolder | ||
| ? | pp ppages | application/x-ppages | |
| Data for printer (via lpr) | sgi-lpr | application/x-sgi-lpr | |
| Software in 'tardist' format | tardist | application/x-tardist | |
| Software in compressed 'tardist' format | ztardist | application/x-ztardist | |
| WingZ spreadsheet | wkz | application/x-wingz | |
| Open Inventor 3-D scenes | iv | graphics/x-inventor |
相关推荐
基于VC++的邮件客户端开发实战:从POP3/SMTP协议到MFC界面实现
网络编程是桌面应用开发的核心技能之一,其基础在于理解TCP/IP协议栈和Socket通信原理。通过实现底层的网络通信,开发者可以精准控制数据传输,解决复杂的连接、认证与超时问题,这对于构建稳定可靠的客户端软件至关重要。在Windows平台,VC++凭借其原生的系统级控制力,成为实现这类需求的理想选择,它能直接操作Winsock API,并高效集成MFC等框架进行UI开发。电子邮件系统是网络编程的经典应用场景,其核心是SMTP和POP3这两个基于TCP的文本协议。掌握它们的工作原理,包括命令-响应流程、Bas
关于HTTP协议头部Content-Type 信息的一张表
转自:http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html Description of Data Content Typical Filename Extensions
基于MOS的防反接电路
防反接电路一般用于电源入口处,在电源反接时,保证电源入口之后的电路不会受到损害。一般在电源电流较小、对1V左右的压降不敏感时可以使用二极管进行防反接。防反接的形式有直接在正极串联二极管(如图1),或使用整流桥的方式(如图2),但这两种方式均存在:1、存在二极管的管压降;2、过大电流时,二极管消耗的功率大,发热严重。这两个问题。 图 1 二极管防反接电路 图 2 整流管防反接电路 1、基于NMO...
常见 content-type对应表
常使用的几种 种类 文件扩展名 Content-Type(Mime-Type) 2003 Excel .xls application/vnd.ms-excel 2010 Excel .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 文本文件
基于Java+Maven+Testng+RestAssured+Allure+Jenkins搭建一个接口自动化框架
2、有一个提取表达式列,通过编写每个接口的JSON提取表达式,后边在解析Excel时,对接口执行后的响应数据用该表达式提取出来,保存到环境变量,如果某些接口需要前置接口的响应数据,我们就可以从环境变量中获取该数据出来,从而解决了接口关联的问题。1、在之前介绍过全局配置类Contants中添加一个控制台日志开关控制权限,如果选择为false,则控制台不输出日志,将日志输出到allure报表,选择为true,则在控制台输出日志,不输出到allure报表。
零基础玩转STM32CubeIDE LL库:5分钟搞定串口通信(附完整代码)
本文为零基础开发者提供了一份STM32CubeIDE LL库串口通信的快速实战指南。通过CubeMX配置、LL库核心API详解,以及中断接收与环形缓冲区的完整代码实现,帮助读者在5分钟内搭建稳定可靠的串口收发框架,解决从HAL切换到LL库的常见困惑,提升嵌入式开发效率。
http header中的Content-disposition
Access-Control-Expose-Headers 响应首部 Access-Control-Expose-Headers 列出了哪些首部可以作为响应的一部分暴露给外部。 默认情况下,只有六种 simple response headers (简单响应首部)可以暴露给外部: Cache-Control Content-Language Content-Type Expires Last-M...
全景相机APP
以下是一款**全景相机APP**的完整源码,支持全景照片拍摄(多帧拼接)、全景预览、鱼眼矫正、图片保存/分享、360°全景查看等核心功能,基于Android原生Camera2 API(替代过时的Camera API) + OpenCV(图像拼接) + GLSurfaceView(全景预览)实现,适配Android 8.0+设备,可直接编译运行。runOnUiThread(() -> tvFrameCount.setText("已拍摄:" + frameCount + "帧"));// X轴旋转(上下)
ContextType大全
json => application/json text/x-json ez => application/andrew-inset, hqx => application/mac-binhex40, cpt => application/mac-compactpro, doc => application/msword, bin =...
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
物联网系列③——基于ESP8266与点灯科技平台的温湿度计设计(接入小爱同学)
物联网系列③——基于ESP8266与点灯科技平台的温湿度计设计(接入小爱同学)一、设计目标二、电路展示三、存在的问题四、代码五、需要注意的问题 一、设计目标 前一阵子偶然接触到点灯科技平台,产生了制作一块ESP8266电路板,拥有以下功能: 使用CH340对ESP8266进行程序下载 使用DHT11进行温湿度数据读取 使用点灯科技平台接入物联网,可通过手机APP获得室内温湿度 接入小爱同学,通过语音获取室内温湿度信息 Mico US
PostMan 四种常见的 POST 提交数据方式
HTTP/1.1 协议规定的 HTTP 请求方法有 OPTIONS、GET、HEAD、POST、PUT、DELETE、TRACE、CONNECT 这几种。其中 POST 一般用来向服务端提交数据,本文主要讨论 POST 提交数据的几种方式。 协议规定 POST 提交的数据必须放在消息主体(entity-body)中,但协议并没有规定数据必须使用什么编码方式。实际上,开发者完全可以自己决定消...
如何通过 GitHub Actions 使用 SSH 自动化部署到阿里云 ECS 实例
通过 GitHub Actions 和 SSH 自动化部署,可以显著提高你的开发效率和部署的可靠性。本文介绍了如何生成 SSH 密钥、将公钥添加到阿里云 ECS 实例、将私钥添加到 GitHub Secrets,以及编写 GitHub Actions 工作流来实现自动化部署。希望这篇文章对你有所帮助!
CONTENT-TYPE类型一览表
Multipart Internet Mail Extensions (MIME) 关于Content-Type的一张表.(方便查找了哦) http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html Description of Data Content Typical
基于STM32设计的环境检测系统(OneNet)_365
本项目设计并实现了一种基于STM32F103RCT6单片机的环境检测系统,系统集成了多种传感器模块,具备对环境温湿度、烟雾浓度、易燃气体浓度、一氧化碳浓度和整体空气质量的实时检测功能。系统通过1.44寸SPI接口LCD实现本地数据显示,同时配备有源蜂鸣器用于环境异常报警。在数据通信方面,系统利用ESP8266-WIFI模块,采用MQTT协议将各类传感器数据上传至OneNet云平台,并借助其可视化框架实现网页端可视化界面,可通过电脑和手机浏览器远程访问,实现环境数据的远程监控。该系统设计结构简单、功能全面,适
jre9下载 jdk9
(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】
MIME类型大全
定义多用途互联网邮件扩展(MIME,Multipurpose Internet Mail Extensions)
WINCC7.3破解文件
WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!
写在20110622:MimetypeMap
mimetype在FM中应用是及其广泛的,存储空间上存放着各种类型的文件,如果是第三方公司专门做的Apk会将此映射表抽取到FM工程中,如果是直接系统上开发,不用抽取该文件,在4.0之前的Android系统中,该映射表是存放在frameworks\base\core\java\android\webkit\MimeTypeMap.java , 4.0之后的Android系统中,该映射表存放...
老版QQ原生表情gif动态
这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。
霍尼韦尔SoftMaster使用说明
霍尼韦尔SoftMaster使用说明
HTTP协议中MIME类型与Content-Type详解
MIME类型(多用途互联网邮件扩展)是Web开发中标识内容类型的关键标准,通过Content-Type头部在HTTP协议中实现。其核心原理是将文件类型分为独立类型(如text/html、image/png)和复合类型(如multipart/form-data),确保浏览器能正确处理各类资源。正确配置MIME类型能解决文件渲染异常、脚本失效等常见问题,对API开发、文件上传、PWA等场景尤为重要。通过Apache/Nginx服务器配置或编程语言设置响应头,开发者可优化资源加载性能,结合charset参数避免乱
HTTP协议中MIME类型详解与Web开发实战
MIME类型是HTTP协议中用于标识内容类型的核心机制,它通过Content-Type头部实现浏览器与服务器的内容协商。从技术原理看,MIME采用type/subtype结构定义数据类型,如text/html表示HTML文档,image/png表示PNG图像。在Web开发实践中,正确配置MIME类型直接影响资源加载效果,常见的CSS样式失效、JS执行错误等问题往往源于MIME配置不当。特别是在处理静态资源、文件上传下载、API交互等场景时,精确的MIME类型设置尤为关键。通过合理配置服务器(如Nginx的t
HTTP协议中的MIME类型详解与应用实践
MIME类型是Web开发中用于标识资源内容类型的核心机制,它通过Content-Type头部在HTTP协议中传输。从技术原理看,MIME类型采用type/subtype结构,由IANA统一管理,分为独立类型和复合类型两大类。在工程实践中,正确的MIME类型配置直接影响内容渲染、脚本执行和文件下载等关键功能,特别是在处理text/javascript、application/json等高频类型时尤为重要。现代Web开发中,MIME类型与安全防护、性能优化密切相关,例如通过正确配置可预防XSS攻击,而使用app
MIME类型详解:Web开发必备的内容标识指南
MIME类型是互联网内容交互的基础协议,用于标识数据的格式类型。其核心原理是通过type/subtype结构(如text/html、image/jpeg)为数据包添加类型标签,使接收方能正确处理内容。在Web开发中,正确的MIME类型配置直接影响文件解析、API通信和多媒体播放等关键功能。特别是在HTTP协议、文件上传和内容安全策略等场景中,MIME类型都扮演着重要角色。本文通过Nginx/Apache配置示例和常见问题排查,深入讲解如何正确应用MIME类型标准,涵盖从基础文本到WebAssembly等新兴
MIME类型解析:Web开发中的内容协商与文件处理
MIME类型是互联网内容交互的基础协议,用于标识传输数据的格式。作为HTTP协议的核心组成部分,它通过Content-Type和Accept头部实现客户端与服务端的内容协商。在Web开发中,MIME类型直接影响文件上传下载、API数据交换等关键功能。常见的应用场景包括验证文件类型、实现动态内容协商以及优化静态资源传输。理解text/html、application/json等标准类型的规范,能有效解决文件乱码、浏览器兼容性等工程问题。对于开发者而言,掌握MIME类型机制既是构建RESTful API的基础,
[导入]什么是MIME
MIME(Multipurpose Internet Mail Extensions)多功能Internet 邮件扩充服务。 MIME利用了一个事实就是,RFC 822在消息体的内容中做了一点限制:唯一的限制就是只能使用简单的ASCII文本。所以,MIME信息由正常的Internet文本邮件组成,文本邮件 拥有一些特别的符合RFC 822的信息头和格式化过的信息体(用ASCII 的子集来...
多用途互联网邮件扩展MIME
多用途互联网邮件扩展(MIME,Multipurpose Internet Mail Extensions) 在MIME出台之前,使用RFC 822只能发送基本的ASCII码文本信息,邮件内容如果要包括二进制文件、声音和动画等,实现起来非常困难。MIME提供了一种可以在邮件中附加多种不同编码文件的方法,弥补了原来的信息格式的不足。实际上不仅仅是邮件编码,现在MIME经成...
Java实现带附件邮件发送的完整指南
邮件发送是现代系统中常见的功能需求,特别是在需要传输电子发票、合同文档或报表数据等业务场景中。MIME协议扩展了传统邮件标准,支持多媒体内容和附件传输。JavaMail API配合JAF框架提供了完整的解决方案,通过SMTP协议实现安全可靠的邮件发送。技术实现上需要处理认证、编码、附件类型识别等关键问题,同时要考虑性能优化和错误处理。在电商、OA、监控等系统中,带附件的邮件功能已成为业务流转的重要环节,而JavaMail的稳定性和扩展性使其成为企业级应用的首选方案。
C++网络编程实战:从Socket底层实现SMTP邮件发送客户端
网络编程是计算机通信的基础,其核心在于通过Socket API在不同主机间建立连接、传输数据。理解TCP/IP协议栈和字节流处理是掌握网络编程的关键,这不仅能提升对底层通信机制的认识,还能增强调试复杂网络问题的能力。在工程实践中,应用层协议如SMTP(简单邮件传输协议)将网络通信标准化,通过命令-响应模式实现邮件传输。通过亲手实现SMTP客户端,开发者能深入理解协议状态机、认证流程(如AUTH LOGIN)和MIME编码等核心概念,从而在系统监控、用户通知等场景中构建更可靠、可控的邮件发送功能。本文以C++
451



被折叠的 条评论
为什么被折叠?



