Append a message to the specified mailbox. Used for saving sent email.
public appendMessage ( string $folderid, string | stream $msg, array $flags = [] ) : integer | boolean | ||
$folderid | string | The mailbox |
$msg | string | stream | The message |
$flags | array | Any flags to set on the newly appended message. |
return | integer | boolean | The imap uid of the appended message or false on failure. @since 2.37.0 |