Mark Crispin wrote on 10/17/2004 11:05 AM:
On Sun, 17 Oct 2004, Charles Dorner wrote:
I'm trying to format an envelope and body for sending through the smtp_mail() function. The message is type TYPEMULTIPART and has an attachment of type TYPEMESSAGE with subtype of RFC822.
Set the TYPEMESSAGE text as if it was type TYPETEXT. Typically, you use TYPEMESSAGE when you are forwarding a message, which means that you already have it as a text string. It's therefore pointless to deconstruct the message just to have c-client reconstruct it; especially since the usual point of forwarding as MIME is to forward the message as-is.
Unfortunately, I'm in between c-client and the actual program the user uses to forward the message, and I have no way to get the original source of the e-mail, I get information about the embedded message to forward (not the source, unfortunately) and need to construct the message myself. So that solution doesn't work for me. I could reconstruct as much of the text of the e-mail as possible, but sometimes that might not be very much. Are there any other suggestions?
