hi to all,
I am using that example ..
http://www.symbian.com/developer/tec..._overview.html
How can I add attachment to the mail?
tnx,
Dvir.
hi to all,
I am using that example ..
http://www.symbian.com/developer/tec..._overview.html
How can I add attachment to the mail?
tnx,
Dvir.
If you check CMsvStore, it provides an interface for managing attachments.
hi
Code:TFileName attachmentFile( _L("c:\\DATA\\image\\birthday.jpg") ); RFs iFs; RFile fileHandle; TBufC8<20> mimeType = _L8( "image/jpeg" ); TUint charset = 0; iFs.Connect(); fileHandle.Open( iFs, attachmentFile,EFileShareReadersOnly | EFileRead ); MMsvAttachmentManager* attMngr = &(store->AttachmentManagerL()); CMsvAttachment* attaInfo = CMsvAttachment::NewL( CMsvAttachment::EMsvFile ); CleanupStack::PushL( attaInfo ); CMessAsyncWaiter* waiter2 = CMessAsyncWaiter::NewL(); CleanupStack::PushL(waiter); attMngr->AddAttachmentL(fileHandle,attaInfo,waiter2->iStatus);
Is that the way to add attachment to Email ???
Please help me how can I do it ?
tnx,
Dvir.
------------------
Nothing!
------------------
There are to many method to do that I really confuse .
cuz I did succeed to send MMS message but there the method completely different. (I used CreatedAttachment2L)
There are to many functions... (AddAttachment / CreateAttachmentL / CreateAttachmentLink)
It will make me happy if you could help me with snippet of working code.
tnx,
Dvir.
Last edited by Dvirus; 2009-04-20 at 22:15.