QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 757|回复: 0

一个用c++写Send Mail程序时遇到关于MIME的问题

[复制链接]
发表于 2003-4-20 18:25:43 | 显示全部楼层 |阅读模式
本人用Socket写Send Mail程序时不知道如何写MIME的格式.
如下: (用OUTLOOK得到的邮件内容)
From: "163" <[email protected]>
To: <[email protected]>
Subject: wavfile
Date: Sun, 20 Apr 2003 10:13:44 +0800
MIME-Version: 1.0
Content-Type: multipart/mixed;
        boundary="----=_NextPart_000_0009_01C30725.86786F50"      (分界标志)
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C30725.86786F50
Content-Type: multipart/alternative;
        boundary="----=_NextPart_001_000A_01C30725.867B7C90"


------=_NextPart_001_000A_01C30725.867B7C90
Content-Type: text/plain;
        charset="gb2312"
Content-Transfer-Encoding: base64

dGhpcyBpcyBhIHdhdiBmaWxlIGF0dGFjaG1lbnQ=

------=_NextPart_001_000A_01C30725.867B7C90
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 04:36 , Processed in 0.034856 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表