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.
-- Mark --
http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
