#include <mw/miuthdr.h>
Link against: imcm.lib
| class CImMimeHeader : public CBase |
Stores a MIME email header.
| IMPORT_C const TPtrC8 | ContentDescription | ( | ) | const |
Gets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
| IMPORT_C const TPtrC8 | ContentDisposition | ( | ) | const |
Gets the Content-Disposition field value (either inline or attachment).
The value is MIME defined and should always be 8-bit.
| const CDesC8Array & | ContentDispositionParams | ( | ) | const [inline] |
| CDesC8Array & | ContentDispositionParams | ( | ) | [inline] |
| IMPORT_C const TPtrC16 | ContentLocation | ( | ) | const |
Gets the Content-Location field value.
| IMPORT_C const TPtrC8 | ContentSubType | ( | ) | const |
Gets the Content-Type subtype field value (e.g. "plain" in Content-Type:text/plain).
The value is MIME defined and should always be 8-bit.
| IMPORT_C TImEncodingType | ContentTransferEncoding | ( | ) | const |
Gets the Content-Transfer-Encoding field value.
| IMPORT_C TImEncodingType | ContentTransferEncoding | ( | TDes8 & | rType | ) | const |
Gets the Content-Transfer-Encoding field value as a string.
| Parameters | |
|---|---|
| rType | On return, the field value as a string |
| IMPORT_C const TPtrC8 | ContentType | ( | ) | const |
Gets the Content-Type field value (e.g. "text" in Content-Type:text/plain).
| const CDesC8Array & | ContentTypeParams | ( | ) | const [inline] |
| CDesC8Array & | ContentTypeParams | ( | ) | [inline] |
| IMPORT_C void | ExternalizeL | ( | RMsvWriteStream & | aWriteStream | ) | const |
Externalises the settings to a specified stream.
| Parameters | |
|---|---|
| aWriteStream | Stream to write to |
Gets the value for a particular Content-Type parameter.
For example, for "content-type: text/plain; name=umlaut.txt", GetContentType(_L8("name")) returns "umlaut.txt".
| Parameters | |
|---|---|
| aContentTypeParameter | Parameter type |
| IMPORT_C void | InternalizeL | ( | RMsvReadStream & | aReadStream | ) |
Internalises the settings from a specified stream.
| Parameters | |
|---|---|
| aReadStream | Stream to read from |
| IMPORT_C TUint | MimeCharset | ( | ) | const |
Gets the character set used in decoding the email MIME part.
UID values for different MIME charsets are in charconv.h
| IMPORT_C CImMimeHeader * | NewL | ( | ) | [static] |
Allocates and creates a new CImMimeHeader object.
| IMPORT_C CImMimeHeader * | NewLC | ( | ) | [static] |
Allocates and creates a new CImMimeHeader object, leaving the object on the cleanup stack.
| IMPORT_C const TPtrC8 | RelativePath | ( | ) | const |
Gets IMAP-specific information for the relative location of the entry to the parent email message.
| IMPORT_C void | RestoreL | ( | CMsvStore & | aMessageStore | ) |
Restores settings from a specified message store.
| Parameters | |
|---|---|
| aMessageStore | Message store to read from |
| IMPORT_C void | SetContentBaseL | ( | const TDesC8 & | aPath | ) |
Sets the Content-Base field value.
Sets the Content-Base field value.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentDescriptionL | ( | const TDesC8 & | aPath | ) |
Sets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
Sets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentDispositionL | ( | const TDesC8 & | aPath | ) |
Sets the Content-Disposition field value (either inline or attachment).
The value is MIME defined and should always be 8-bit.
Sets the Content-Disposition field value (either inline or attachment).
The value is MIME defined and should always be 8-bit.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentIDL | ( | const TDesC8 & | aPath | ) |
Sets the Content-ID field value.
Sets the Content-ID field value.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentLocationL | ( | const TDesC16 & | aPath | ) |
Sets the Content-Location field value.
Sets the Content-Location field value.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentSubTypeL | ( | const TDesC8 & | aPath | ) |
Sets the Content-Type subtype field value (e.g. "plain" in Content-Type:text/plain).
The value is MIME defined and should always be 8-bit.
Sets the Content-Type subtype field value (e.g. "plain" in Content-Type:text/plain).
The value is MIME defined and should always be 8-bit.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetContentTransferEncodingL | ( | const TDesC8 & | aType | ) |
Sets the Content-Transfer-Encoding field value.
Sets the Content-Transfer-Encoding field value.
| Parameters | |
|---|---|
| aType | Field value |
| IMPORT_C void | SetContentTypeL | ( | const TDesC8 & | aPath | ) |
Sets the Content-Type field value (e.g. "text" in Content-Type:text/plain).
The value is MIME defined and should always be 8-bit.
Sets the Content-Type field value (e.g. "text" in Content-Type:text/plain).
The value is MIME defined and should always be 8-bit.
| Parameters | |
|---|---|
| aPath | Field value |
| IMPORT_C void | SetMimeCharset | ( | const TUint | aCharset | ) |
Sets the character set used in decoding the email MIME part.
UID values for different MIME charsets are in charconv.h
| Parameters | |
|---|---|
| aCharset | Character set |
| IMPORT_C void | SetRelativePathL | ( | const TDesC8 & | aPath | ) |
Sets IMAP-specific information for the relative location of the entry to the parent email message.
Sets IMAP-specific information for the relative location of the entry to the parent email message.
| Parameters | |
|---|---|
| aPath | Relative location |
| void | SetVersion | ( | TUint16 | aVersion | ) | [inline] |
| IMPORT_C TInt | Size | ( | ) |
Estimates the size of the MIME header, constructed using the values stored.
| IMPORT_C void | StoreL | ( | CMsvStore & | aMessageStore | ) | const |
Stores settings to a specified message store.
| Parameters | |
|---|---|
| aMessageStore | Message store to write to |
| IMPORT_C void | StoreWithoutCommitL | ( | CMsvStore & | aMessageStore | ) | const |
Stores, but does not commit, settings to a specified message store.
| Parameters | |
|---|---|
| aMessageStore | Message store to write to |
| const TUint16 | Version | ( | ) | const [inline] |