append(mailbox, message, flags = nil, date_time = nil)
Instance Public methods
Sends a APPEND command to append the message to the end of the
mailbox. The optional flags argument is an array
of flags to initially passing to the new message. The optional
date_time argument specifies the creation time to assign to
the new message; it defaults to the current time. For example:
imap.append("inbox", <<EOF.gsub(/\n/, "\r\n"), [:Seen], Time.now)
Subject: hello
From: shugo@ruby-lang