equal
deleted
inserted
replaced
836 smtpMtm->AddAttachmentL( attPath->Des(), mimeType, charset, |
836 smtpMtm->AddAttachmentL( attPath->Des(), mimeType, charset, |
837 waiter->iStatus ); |
837 waiter->iStatus ); |
838 waiter->StartAndWait(); |
838 waiter->StartAndWait(); |
839 CleanupStack::PopAndDestroy( waiter ); |
839 CleanupStack::PopAndDestroy( waiter ); |
840 HTI_LOG_TEXT( "Attachment added succesfully" ); |
840 HTI_LOG_TEXT( "Attachment added succesfully" ); |
841 |
841 ls.Close(); |
842 attachmentsExist = ETrue; |
842 attachmentsExist = ETrue; |
843 } |
843 } |
844 |
844 |
845 CleanupStack::PopAndDestroy(); // fsSession |
845 CleanupStack::PopAndDestroy(); // fsSession |
846 } |
846 } |
1189 |
1189 |
1190 // update the message header |
1190 // update the message header |
1191 CSmsHeader* smsHeader = &( smsMtm->SmsHeader() ); |
1191 CSmsHeader* smsHeader = &( smsMtm->SmsHeader() ); |
1192 delete smsHeader; |
1192 delete smsHeader; |
1193 smsHeader = NULL; |
1193 smsHeader = NULL; |
1194 smsHeader = CSmsHeader::NewL( CSmsPDU::ESmsDeliver, smsMtm->Body() ); |
1194 smsHeader = CSmsHeader::NewL( CSmsPDU::ESmsSubmit, smsMtm->Body() ); |
1195 smsHeader->SetFromAddressL( fromTo->Des() ); |
1195 smsHeader->SetFromAddressL( fromTo->Des() ); |
1196 |
1196 |
1197 // set body, the actual BIO message content |
1197 // set body, the actual BIO message content |
1198 smsMtm->Body().Reset(); |
1198 smsMtm->Body().Reset(); |
1199 smsMtm->Body().InsertL( 0, body->Des() ); |
1199 smsMtm->Body().InsertL( 0, body->Des() ); |