函式:imap_append() |
imap_append附加字串到指定的邮箱中。 语法: int imap_append(int imap_stream, string mbox, string message, string [flags]); 传回值: 整数 函式种类: 网路系统
本函式可在指定的电子邮箱中增加附加的字串。参数 imap_stream 为 IMAP 的代号。参数 mbox 为电子邮箱的位址。参数 message 为欲附加的讯息。参数 flag 为可省略的旗标,表示电子邮箱的旗标值。值得注意的是要与 Cyrus IMAP 伺服器沟通时,应使用 \r\n 作为行结束字元 (end-of-line, EOL)。若有错误则传回 false 值。
|