检查 IMAP 是否连线。
语法: int imap_ping(int imap_stream);
传回值: 整数
函式种类: 网路系统
本函用来检查与 IMAP 伺服器的连线状态。参数 imap_stream 为 IMAP 的代号。若仍然保持与 IMAP 伺服器连线则传回 true 值。