Q: Howto get "full" message body to append to IMAP mailbox

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
mphill
Forum Newbie
Posts: 1
Joined: Tue Jun 10, 2008 7:38 pm

Q: Howto get "full" message body to append to IMAP mailbox

Post by mphill »

When I send a message I want to append it to a 'Sent' mailbox. How do you get the full message, not just the body, of the email that was sent?

I am going to use:

Code: Select all

bool imap_append  ( resource $imap_stream  , string $mailbox  , string $message  [, string $options  ] )
Where $message is the full message. I looked through the classes and didn't really see anything (Maybe needed to look harder?).


Thanks! Great application.
Post Reply