[imp] How to append message with Horde_Imap_Client_Socket->append() ?

Kristers Zariņš sharrpenized at gmail.com
Sat May 2 12:08:16 UTC 2015


class Horde_Imap_Client_Socket has this method defined:

protected function _append(Horde_Imap_Client_Mailbox $mailbox, $data,
$options)

However, it doesn't give any hints about how to structure $data and what
are $options. Can somebody give a short example how to save message in
"Drafts" mailbox?

I need to set fields like "from", "cc", "bcc" and attachments.

Thanks!


More information about the imp mailing list