All,
I am having trouble understanding the structure of an MMS message within Symbian.
I am using an attachment manager to iterate through all the CMsvAttachment's for a particular message. So far so good. What I don't quite understand is how the SMIL attachment links to the other parts. Some messages contain SMIL with references like
<img region="Image" src="04032009282.jpg"/>
and indeed one of the other attachments will be called "04032009282.jpg"
However, I sometimes get SMIL with a reference like
<img src="cid:3000000B8C.jpeg"/>
(is that MM7?)
Now none of the attachments will have a name like the above, in fact the relevant attachment is called "att2.jpg", it's TMsvAttachmentId is 2.
How does the phone (that displays the message correctly) link the cid to att2.jpg (or attachment with id 2)?
I did notice that one can set DesC8Attribute's for each of the attachment parts. Would one of those contain the cid reference? I have not managed to iterate through the attributes either, I can see from the API description that there are set and get methods, but how would you know what the attribute is called in order to get it in the first place? I.e. how does one iterate through them? The cmsvattachment.h header declares the following:
class CMsvAttributeManager;
but I cannot find any API (or other) references to this.
Cheers,
Lieuwe



