Fix creation of plain multipart/alternative messages. For some reason an Assemble() is required to make the boundary parameter appear.

svn path=/trunk/kdepim/; revision=330128
wilder-work
Ingo Klcker 22 years ago
parent 340909b3ad
commit 29cea58dc2
  1. 4
      messagecomposer.cpp

@ -1605,8 +1605,8 @@ void MessageComposer::addBodyAndAttachments( KMMessage* msg,
// set body content
if ( mComposeWin->mEditor->textFormat() == Qt::RichText && !(doSign || doEncrypt) ) { // add the boundary to the header
DwMediaType & contentType = msg->dwContentType();
contentType.SetBoundary(mSaveBoundary);
msg->headers().ContentType().SetBoundary( mSaveBoundary );
msg->headers().ContentType().Assemble();
}
msg->setBody(ourFineBodyPart.body() );

Loading…
Cancel
Save