Sends an APPEND command.
null, contains a parenthesized
list of flags to set for this message.null, contains a date in
RFC 2060 form for the message's internal date.An APPEND command requests the server to add a new message to a mail folder (called a "mailbox" in the IMAP4 specification). An APPEND command can optionally set flags for the message and the internal date of the message. The message should be in a format compatible with RFC 2822 or MIME -- that is, in the standard Internet email format.
This version of the Append method takes the message
as a Stream.
Example:
void foo(Imap4Client client, Stream message) {
String mailboxName = "Drafts";
String flags = "(\Draft)";
String date = null;
client.Append(mailboxName, flags, date, message);
}
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
Imap4Client Class | Hunny.Mail Namespace | APPEND command in the IMAP4 specification