On Fri, 23 Apr 2004, Shawn Walker wrote:I know there is a mail_append_full() that will upload a message to a folder, but the message has to be formatted into a string.
Now...as far as mail_append_full() arguments goes, note that it is not a char*, but rather a stringstruct. That means that you provide functions which supply the data on demand. So, you can build individual pieces of the message on the fly as needed by the stringdriver.
I rather have c-client deal with all the ENVELOPE and BODY that contains everything about the message that has everything about the message I want to upload (attachments and embedded messages) and that I don't need to worry about trying to construct the message myself.