imap_savebody

imap_savebody

(PHP 5 >= 5.1.3, PHP 7)

imap_savebodySave a specific body section to a file

Description

bool imap_savebody ( resource $imap_stream , mixed $file , int $msg_number [, string $part_number = "" [, int $options = 0 ]] )

Saves a part or the whole body of the specified message.

Parameters

imap_stream

An IMAP stream returned by imap_open()登录查看完整内容