I have a problem with compiling an email message that will have both text/plain and text/html parts (plus attachments). I realize that I need to have one main multipart/mixed part that will contain a child|embedded multipart/alternative that will hold both plain text and html parts. So, I need two boundaries, one inside the other.
However, it seems doing this is not quite possible (or I am not seeing a way?). I tried overloading the write method:
- Code: Select all
virtual void write(std::ostream& ostr) const;
So, is there a way to insert the secondary boundary inside the main multipart/mixed boundary? Any help is much appreciated.