您现在的位置: 无忧电子商务网 >> 信息学院 >> 程序开发 >> php >> 正文

IMAP 电子邮件系统函数库

作者:佚名    信息学院来源:整理    点击数:    更新时间:2008-2-2 我要参与讨论

  > ft_internal : 返回字符串使用系统格式,不要刻意转成 crlf 行结束标准。

imap_fetchstructure
获取某信件的结构信息。
语法: array imap_fetchstructure(int imap_stream, int msg_number);
返回值: 数组
函数种类: 网络系统
内容说明
本函数可读取指定信件的相关信息。参数 imap_stream 为 imap 的代号。参数 msg_number 为信件的序号。返回的信息为数组的方式,各元素的内容见下表
元素名称类型 type整数 (integer) encoding整数 (integer) ifsubtype布尔 (boolean) subtype字符串 (string) ifdescription布尔 (boolean) description字符串 (string) ifid布尔 (boolean) id字符串 (string) lines整数 (integer) bytes整数 (integer) ifparameters布尔 (boolean)
其中 type 元素的值代表的意义如下 值代表意义 0文字 text 1复合 multipart 2信息 message 3程序 application 4声音 audio 5图形 image 6影像 video 7其它 other
而 encoding 值代表的意义如下 值代表意义 0七位 (7 bit) 1八位 (8 bit) 2二进位 (binary) 3base64 编码 4qp 编码 (quotedprintable) 5其它

 

imap_header
获取某信件的标头信息。
语法: object imap_header(int imap_stream, int msg_number, int [fromlength], int [subjectlength], int [defaulthost]);
返回值: 类
函数种类: 网络系统
内容说明: 本函数可读取指定信件的标头信息。 msg_number 为信件的序号。返回类有下列的属性:answered、bcc、bccaddress、cc、ccaddress、date、date、deleted、fetchfrom、fetchsubject、flagged、followup_to、from、fromaddress、in_reply_to、maildate、message_id、msgno、newsgroups、recent、references、remail、reply_to、reply_toaddress、return_path、return_pathaddress、sender、sen

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ... 下一页  >> 

在google里搜索更多IMAP 电子邮件系统函数库

Google
Web www.51ec.org
  • 上一篇信息学院:

  • 下一篇信息学院:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    我来说两句 对此文章发表了评论
      昵 称: *必填    ·注册用户·
      评 分: 1分 2分 3分 4分 5分     严禁发表危害国家安全、政治、黄色淫秽等内容的评论,用户需对自己在使用本网站服务过程中的行为承担法律责任。本站管理员有权保留或删除评论内容,评论内容只代表机友个人观点,与本网站立场无关。  
    评 论
    内 容

     
    评论列表 (最新 评论仅限网友观点!)

    供求信息




    | 设为首页 | 加入收藏 | 关于我们 | 广告服务 | 联系方式 | 友情链接 | 版权申明