719
|
1 |
/**
|
|
2 |
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
872
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
719
|
6 |
* which accompanies this distribution, and is available
|
872
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
719
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
/**
|
|
23 |
@file
|
|
24 |
*/
|
|
25 |
|
|
26 |
|
|
27 |
#ifndef __LOCAL_IMCVRECV_H__
|
|
28 |
#define __LOCAL_IMCVRECV_H__
|
|
29 |
|
|
30 |
// epoc include
|
|
31 |
#include <s32mem.h>
|
|
32 |
#include <badesca.h> // required for CBufSeg
|
|
33 |
#include <msvstd.h>
|
|
34 |
#include <msventry.h>
|
|
35 |
#include <msvstore.h>
|
|
36 |
#include <msvuids.h>
|
|
37 |
#include <msvids.h>
|
|
38 |
#include <miutatch.h>
|
|
39 |
#include <miutlog.h>
|
|
40 |
#include <imcvcodc.h>
|
|
41 |
#include <imcvtext.h>
|
|
42 |
|
|
43 |
// Forward Declaration
|
|
44 |
class CImHeader;
|
|
45 |
class CRichText;
|
|
46 |
class CLocalMimeParser;
|
|
47 |
class CLocalImRecvConvert;
|
|
48 |
class RFs;
|
|
49 |
class TImConvert;
|
|
50 |
class TImAttachmentFile;
|
|
51 |
class CImcvUtils;
|
|
52 |
class CMsvBodyText;
|
|
53 |
|
|
54 |
const TInt KHeaderBufferLength = 100;
|
|
55 |
|
|
56 |
// Max filename length
|
|
57 |
const TInt MaxMimeParameterValueLength = 256;
|
|
58 |
// Likely maximum size of an encoded parameter value decoding to a length of
|
|
59 |
// MaxMimeParameterValueLength. In quoted printable usually 3 encoded characters
|
|
60 |
// per decoded character. 60 characters is given to allow for delimiters and
|
|
61 |
// charset information.
|
|
62 |
const TInt KMimeEncodedParameterSize = MaxMimeParameterValueLength * 3 + 60;
|
|
63 |
|
|
64 |
const TInt KConversionRemainderLength=20;
|
|
65 |
|
|
66 |
//boundary stuff
|
|
67 |
const TInt KBoundaryNotFound =0;
|
|
68 |
const TInt KBoundaryFound =1;
|
|
69 |
const TInt KBoundaryError =2;
|
|
70 |
|
|
71 |
|
|
72 |
/**
|
|
73 |
Stores the details about a message nneded in the Message entry.
|
|
74 |
*/
|
|
75 |
struct TParentDetails
|
|
76 |
{
|
|
77 |
TInt iSize;
|
|
78 |
TBool iAttachment;
|
|
79 |
TBool iMHTML;
|
|
80 |
TImEmailFolderType iFolder; // Only interested in the Related type
|
|
81 |
};
|
|
82 |
|
|
83 |
|
|
84 |
/**
|
|
85 |
@internalComponent
|
|
86 |
@released
|
|
87 |
*/
|
|
88 |
class CLocalRfc822Token : public CBase
|
|
89 |
{
|
|
90 |
public:
|
|
91 |
enum THeaderPart { EUnknown, ENotFinished, EFrom, EReplyTo, ETo, ECc, EBcc, ESubject, EDate, EMessageId, EPriority, EImportance, EReturnReceiptTo, EEndOfHeader };
|
|
92 |
THeaderPart iHeaderPart;
|
|
93 |
TBool iLastToken;
|
|
94 |
TBool iFirstLine;
|
|
95 |
TBool i822FieldsExist;
|
|
96 |
|
|
97 |
/*IMPORT_C*/ static CLocalRfc822Token* NewLC();
|
|
98 |
/*IMPORT_C*/ void Reset();
|
|
99 |
inline HBufC8* OutputLine();
|
|
100 |
/*IMPORT_C*/ virtual void ParseNextLineL( const TDesC8& aSourceLine );
|
|
101 |
/*IMPORT_C*/ ~CLocalRfc822Token();
|
|
102 |
inline TBool LastToken();
|
|
103 |
|
|
104 |
inline void SetImRecvConvert( CLocalImRecvConvert* );
|
|
105 |
private:
|
|
106 |
TBool MatchAndRemoveL( const TDesC8& );
|
|
107 |
TBool PriorityAndReceiptsMatchAndRemoveL(THeaderPart aPriority);
|
|
108 |
|
|
109 |
CLocalRfc822Token();
|
|
110 |
void ConstructL();
|
|
111 |
|
|
112 |
private:
|
|
113 |
TBuf8<KMaxIMailHeaderReadLineLength+1> iInputLine;
|
|
114 |
TBuf8<KMaxIMailHeaderReadLineLength+1> iBufferedInput;
|
|
115 |
HBufC8* iOutputLine;
|
|
116 |
CLocalImRecvConvert* iImRecvConvert;
|
|
117 |
};
|
|
118 |
|
|
119 |
|
|
120 |
/**
|
|
121 |
@internalTechnology
|
|
122 |
@released
|
|
123 |
*/
|
|
124 |
class CLocalImRecvConvert : public CBase
|
|
125 |
{
|
|
126 |
friend class CLocalMimeParser;
|
|
127 |
public:
|
|
128 |
/*IMPORT_C*/ static CLocalImRecvConvert* NewLC( RFs& anFs, CMsvServerEntry* aServerEntry,
|
|
129 |
TUid aMsgType, TMsvId aEmailServiceId);
|
|
130 |
/*IMPORT_C*/ static CLocalImRecvConvert* NewL( RFs& anFs, CMsvServerEntry* aServerEntry,
|
|
131 |
TUid aMsgType, TMsvId aEmailServiceId);
|
|
132 |
/*IMPORT_C*/ ~CLocalImRecvConvert();
|
|
133 |
|
|
134 |
/*IMPORT_C*/ void ResetL();
|
|
135 |
/*IMPORT_C*/ void ResetForHeadersL();
|
|
136 |
|
|
137 |
inline void SetAttachmentPathL(const TDesC& aFullPath); // attachment path, if not set then IMCV will reject attachments
|
|
138 |
inline void SetMsvId(TMsvId aId);
|
|
139 |
|
|
140 |
/*IMPORT_C*/ virtual TInt ParseNextField(const TDesC8& aSourceLine);
|
|
141 |
/*IMPORT_C*/ void MessageCompleteL();
|
|
142 |
/*IMPORT_C*/ void MessageCompleteL(TMsvEmailEntry aEmailEntry);
|
|
143 |
/*IMPORT_C*/ void MessageCompleteL(TBool aPartialDownload);
|
|
144 |
/*IMPORT_C*/ TInt DeletedAttachmentSize();
|
|
145 |
/*IMPORT_C*/ void WritePartialFooterL(TInt aAmountLeft);
|
|
146 |
/*IMPORT_C*/ TMsvEmailEntry MessageEntryDetailsL();
|
|
147 |
|
|
148 |
enum TValidEntryType {EUnknownEntry, EMessageEntry, EFolderEntry, EAttachmentEntry, ETextEntry, EHtmlEntry};
|
|
149 |
enum TImEntryStreamSaveSettings
|
|
150 |
{
|
|
151 |
KStoreBodyText = 0x00000001,
|
|
152 |
KStore822Header = KStoreBodyText << 1, //0x00000002
|
|
153 |
KStoreMIMEHeader = KStore822Header << 1, //0x00000004
|
|
154 |
};
|
|
155 |
|
|
156 |
inline const TTime Date() const; // return RFC822 date
|
|
157 |
inline const TMsvPriority Priority() const;
|
|
158 |
inline void SaveAllAttachments(TBool aSave);
|
|
159 |
inline const TInt ReceiveError() const;
|
|
160 |
inline CMsvServerEntry& ServerEntry();
|
|
161 |
inline const CImHeader& Header() const;
|
|
162 |
inline const TBool ValidCompleteHeader() const;
|
|
163 |
//virtual inline const TMsvId EntryId() const;
|
|
164 |
virtual TMsvId EntryId();
|
|
165 |
inline TBool NotFinishedRfc822Header();
|
|
166 |
inline CImConvertCharconv& CharacterConverter();
|
|
167 |
|
|
168 |
protected:
|
|
169 |
CLocalImRecvConvert(RFs& anFs, CMsvServerEntry* aServerEntry,
|
|
170 |
TUid aMsgType, TMsvId aEmailServiceId);
|
|
171 |
void ConstructL(RFs& anFs);
|
|
172 |
|
|
173 |
void ParseNextLineL(const TDesC8& aSourceLine);
|
|
174 |
void ParseBodyLineL(const TDesC8& aSourceLine);
|
|
175 |
void ParseMimeLineL(const TDesC8& aSourceLine);
|
|
176 |
void EndOfHeaderProcessingL();
|
|
177 |
virtual void EndOfHeaderMIMEProcessingL();
|
|
178 |
TBool CreateNonMIMEFolderEntryL(TMsvId aCurrentId);
|
|
179 |
void DecodeAndStoreLineL(const TDesC8& aSourceLine);
|
|
180 |
|
|
181 |
void ParseRecipientListL(CDesCArray& aRecipientList);
|
|
182 |
void PrepareDecoder();
|
|
183 |
|
|
184 |
void WriteToBodyL(const TDesC8& aText, TBool aBlankLine=EFalse);
|
|
185 |
void WriteToBodyL(const TDesC16& aText);
|
|
186 |
|
|
187 |
void AddFileExtension();
|
|
188 |
void ExtractFilename(TLex& aLex, TDes& rFileName);
|
|
189 |
void ReplaceInvalidCharacters(TDes& rFileName);
|
|
190 |
void SetAttachmentName(TDes& aFileName);
|
|
191 |
|
|
192 |
TBool CheckUUEStartL(const TDesC8& aSourceLine);
|
|
193 |
|
|
194 |
// returns numeric value of text up to next delimiter
|
|
195 |
TInt Value(const TUint8*&);
|
|
196 |
void Whitespace(const TUint8*&);
|
|
197 |
TBool LineIsAllWhitespace();
|
|
198 |
|
|
199 |
TBool CreateAttachmentL();
|
|
200 |
virtual void WriteToAttachmentL(const TDesC8& text);
|
|
201 |
void CloseAttachmentFileL();
|
|
202 |
|
|
203 |
// Message Entry specific functions
|
|
204 |
void ResetForNewEntryL(TValidEntryType entryType);
|
|
205 |
void ResetForNonMimeEntryL();
|
|
206 |
void MoveUpFromFolderEntryL();
|
|
207 |
virtual void MoveToParentEntryL();
|
|
208 |
void UpdateMultipartDataL();
|
|
209 |
|
|
210 |
TBool StoreEntryDataL();
|
|
211 |
|
|
212 |
virtual void StoreEntryStreamsL();
|
|
213 |
virtual void StoreEntryStreamsL(TInt aSettings);
|
|
214 |
void Store822HeaderL(CMsvStore& aStore, TBool& aCommit);
|
|
215 |
void StoreMIMEHeaderL(CMsvStore& aStore, TBool& aCommit);
|
|
216 |
void StoreBodyTextL(CMsvStore& aStore, TBool& aCommit);
|
|
217 |
|
|
218 |
virtual void CreateEntryL();
|
|
219 |
void Logging(const TDesC8& aString1, const TDesC8& aString2);
|
|
220 |
void StoreMessageEntryDetailsL();
|
|
221 |
|
|
222 |
protected:
|
|
223 |
enum { KNoPart = 0, KParentPart, KMultiPart };
|
|
224 |
TInt iEmailPart;
|
|
225 |
TMsvId iCurrentMultipartFolderEntryId;
|
|
226 |
|
|
227 |
TBool iMessageEntryCalled;
|
|
228 |
TBool iReceivingHeadersOnly;
|
|
229 |
TInt iReceiveError; // indicates if any anomalies were observed whilst the message was received
|
|
230 |
TInt iLeaveError; // keeps any errors that have caused a leave (ie Out of memory, Corrupt file, Server error)
|
|
231 |
|
|
232 |
TMsvId iRootEntryId;
|
|
233 |
TMsvId iTopMessagePart;
|
|
234 |
|
|
235 |
TInt8 iBCPadding[1348]; // Padding to maintain BC - TImAttachmentFile used to be here before it's size was expanded to buffer more data.
|
|
236 |
CMsvServerEntry* iServerEntry;
|
|
237 |
TUid iNewMsgType;
|
|
238 |
|
|
239 |
CLocalRfc822Token* iRfc822Token;
|
|
240 |
|
|
241 |
TValidEntryType iDefaultEntryType;
|
|
242 |
TValidEntryType iEntryType;
|
|
243 |
|
|
244 |
TMsvEmailEntry* iEmailEntry;
|
|
245 |
CImHeader* iOutputHeader;
|
|
246 |
|
|
247 |
CParaFormatLayer* iParaLayer;
|
|
248 |
CCharFormatLayer* iCharLayer;
|
|
249 |
CRichText* iOutputBody;
|
|
250 |
|
|
251 |
CImConvertCharconv* iCharConv;
|
|
252 |
CCnvCharacterSetConverter* iConverter;
|
|
253 |
TBool iPreparedToConvert;
|
|
254 |
|
|
255 |
TBool iMIMEPart_822Header;
|
|
256 |
TInt iEmptyHeaderSize;
|
|
257 |
TImBodyConvAlgorithm iAlgorithm;
|
|
258 |
|
|
259 |
TBool iCommitLine;
|
|
260 |
TBool iFinalLine;
|
|
261 |
TBool iPrepared;
|
|
262 |
TBool iFinishedHeader;
|
|
263 |
TBool iNotFinishedRfc822Header;
|
|
264 |
TBool iNewNonMIMEBodyPart;
|
|
265 |
TBool iFirstBoundaryReached;
|
|
266 |
|
|
267 |
CCnvCharacterSetConverter* iCharacterConverter;
|
|
268 |
CImConvertHeader* iHeaderConverter;
|
|
269 |
|
|
270 |
TImRfc822DateField iRfc822Date;
|
|
271 |
|
|
272 |
RFs* iFsSession;
|
|
273 |
|
|
274 |
TBool iSkipData;
|
|
275 |
TBool iEncounteredLineEndingInCarriageReturn;
|
|
276 |
|
|
277 |
TBool iCurrentPartIsRichText; //indicates if current body part is RichText, set on every Close Attachment()
|
|
278 |
TImCodecQP iQPCodec;
|
|
279 |
TImCodecB64 iB64Codec;
|
|
280 |
TImCodecUU iUUCodec;
|
|
281 |
TPtrC8 iThisLine;
|
|
282 |
|
|
283 |
HBufC* iRemovedAttachmentTag; // resource text which is put into the body in place of a removed MIME attachment
|
|
284 |
HBufC* iRetainedAttachmentTag; // Not used at all - resource text which is put into the body next to a retained MIME attachment
|
|
285 |
HBufC* iDefaultAttachmentName; // used when no name found
|
|
286 |
HBufC* iAttachmentFullPath; // full path to current message file
|
|
287 |
|
|
288 |
TBool iSavingAttachments; // Turn on/off saving of attachments
|
|
289 |
|
|
290 |
TBuf8<KMaxBoundaryTextLength> iSeekBoundary;
|
|
291 |
|
|
292 |
TInt iGlobalIndent;
|
|
293 |
TInt iPreviousLineLength;
|
|
294 |
TInt iPreviousTrailingWhitespace;
|
|
295 |
TChar iLastChar;
|
|
296 |
TInt iLongestLine;
|
|
297 |
TBool iNewEntry;
|
|
298 |
|
|
299 |
TImAttachmentFileState iAttachmentFileState;
|
|
300 |
TUint32 iEntryDataSize;
|
|
301 |
|
|
302 |
TBool iLogFileExists;
|
|
303 |
RFile iLogFile;
|
|
304 |
TLex8 iLineLex;
|
|
305 |
TTime iTimeDate;
|
|
306 |
|
|
307 |
//priorities //vk
|
|
308 |
TInt iPriority; //{1..5}
|
|
309 |
TInt iXPriority; // {1..5} 1,2-high, 3-normal, 4,5-low
|
|
310 |
TBuf8<KMaxPriorityTextLength> iPrecedence; // {bulk-low, list-normal,first class,special delivery-0}
|
|
311 |
TBuf8<KMaxPriorityTextLength> iImportance; // {high, low, normal}
|
|
312 |
TMsvPriority iImPriority;
|
|
313 |
|
|
314 |
TMsvId iEmailServiceId;
|
|
315 |
TBool iPopulateMessage;
|
|
316 |
CImcvUtils* iImcvUtils;
|
|
317 |
|
|
318 |
TBuf8<KConversionRemainderLength> iLeftOver;
|
|
319 |
|
|
320 |
TMsvId iSavedEntryId;
|
|
321 |
CArrayFixFlat<TParentDetails>* iParent;
|
|
322 |
// Logging
|
|
323 |
CImLog* iImcvLog;
|
|
324 |
TMsvId iBodyId;
|
|
325 |
|
|
326 |
public:
|
|
327 |
TFileName iAttachmentName;
|
|
328 |
CLocalMimeParser* iMimeParser;
|
|
329 |
protected:
|
|
330 |
TBool iRelatedAttachments;
|
|
331 |
CBufBase* iBodyBuf;
|
|
332 |
CMsvBodyText *iBodyText;
|
|
333 |
TInt iStore8BitData;
|
|
334 |
TImAttachmentFile iAttachmentFile;
|
|
335 |
TBool iParsedMimeBoundaryLast;
|
|
336 |
TInt iSizeOfAttachmentsRemoved;
|
|
337 |
HBufC* iPartialEmailFooter;
|
|
338 |
TInt iTopPartialDownloadCounter; // added to support correct attachment downloading after partial download
|
|
339 |
TBool iPartialEmail;
|
|
340 |
RFile* iFile;
|
|
341 |
};
|
|
342 |
|
|
343 |
|
|
344 |
/**
|
|
345 |
@internalComponent
|
|
346 |
@released
|
|
347 |
*/
|
|
348 |
class CLocalMimeParser : public CBase
|
|
349 |
{
|
|
350 |
public:
|
|
351 |
/*IMPORT_C*/ static CLocalMimeParser* NewLC(CLocalImRecvConvert& aImRecvConvert);
|
|
352 |
/*IMPORT_C*/ static CLocalMimeParser* NewL(CLocalImRecvConvert& aImRecvConvert);
|
|
353 |
/*IMPORT_C*/ ~CLocalMimeParser();
|
|
354 |
void Reset();
|
|
355 |
void ResetForNewEntry();
|
|
356 |
void ParseLineL(const TDesC8& aSourceLine);
|
|
357 |
|
|
358 |
void SetBoundaryL(const TDesC8& aBoundaryText);
|
|
359 |
TBool IsBoundary(const TDesC8& aSourceLine);
|
|
360 |
void RemoveBoundary();
|
|
361 |
|
|
362 |
inline void StoreMimeHeaderL(CMsvStore& entryStore);
|
|
363 |
inline void StoreMimeHeaderWithoutCommitL(CMsvStore& entryStore);
|
|
364 |
inline void RestoreMimeHeaderL(CMsvStore& entryStore);
|
|
365 |
|
|
366 |
inline TImEncodingType ContentEncoding();
|
|
367 |
inline TMimeContentType ContentType();
|
|
368 |
TPtrC8 ContentSubType() const;
|
|
369 |
TUint CurrentCharsetL() const;
|
|
370 |
|
|
371 |
inline const TBool MessageIsMime() const;
|
|
372 |
inline const TBool IsTerminatingBoundary() const;
|
|
373 |
inline const TBool BoundaryExists() const;
|
|
374 |
inline const TBool BoundaryFound() const;
|
|
375 |
inline const TInt MimeHeaderSize() const;
|
|
376 |
inline const TInt ReceiveError() const;
|
|
377 |
inline const TDesC& ContentDescription() const;
|
|
378 |
inline const TPtrC ContentLocation() const;
|
|
379 |
inline const TPtrC8 ContentId() const;
|
|
380 |
inline const TPtrC8 ContentDisposition() const;
|
|
381 |
inline TBool IsMessageDigest();
|
|
382 |
|
|
383 |
TBool VCard() const;
|
|
384 |
TBool VCalendar() const;
|
|
385 |
TImEmailFolderType MessageFolderType() const;
|
|
386 |
void SetMessageFolderType(TImEmailFolderType aFolderType);
|
|
387 |
TBool StartPart() const;
|
|
388 |
void RestoreMimeParserL(CMsvStore& entryStore);
|
|
389 |
void ExtractParameterInfoL(const TDesC8& aTag, TDes16& rBuffer, TDes8& rBuffer8);
|
|
390 |
void ExtractParameterInfoL(const TDesC8& aTag, HBufC8*& rBuffer);
|
|
391 |
TBool MimeFieldsExist() const;
|
|
392 |
void ResetMimeFieldsExist();
|
|
393 |
void DoMultipartTypeForNonMIMEL();
|
|
394 |
|
|
395 |
#if defined (_DEBUG)
|
|
396 |
inline TLex8& Lex() {return iLex;};
|
|
397 |
#endif
|
|
398 |
|
|
399 |
private:
|
|
400 |
CLocalMimeParser(CLocalImRecvConvert& aImRecvConvert);
|
|
401 |
void ConstructL();
|
|
402 |
|
|
403 |
// String scanning functions
|
|
404 |
TBool IsSpecialChar(const TUint8 aChar);
|
|
405 |
TBool MatchAndRemoveToken(const TDesC8& aToken);
|
|
406 |
|
|
407 |
// MIME token recognition functions
|
|
408 |
void DoMimeVersion();
|
|
409 |
void DoContentTypeL();
|
|
410 |
void DoContentLocationL();
|
|
411 |
void DoContentBaseL();
|
|
412 |
void DoContentIdL();
|
|
413 |
void DoEncodingL();
|
|
414 |
void DoDescriptionL();
|
|
415 |
void DoDispositionL();
|
|
416 |
|
|
417 |
// MIME Content-Type type recognition functions
|
|
418 |
void DoTextTypeL();
|
|
419 |
void DoMultipartTypeL();
|
|
420 |
void DoMessageTypeL();
|
|
421 |
void DoAttachmentTypeL();
|
|
422 |
|
|
423 |
// Will be moved to MIUT, but for now ..
|
|
424 |
const TPtrC8 GetContentTypeValue(const TDesC8& aContentTypeParameter) const;
|
|
425 |
|
|
426 |
TBool ParseRfc2047ParameterInfoL( const TDesC8& aParam, TDes& rBuffer);
|
|
427 |
TBool ParseRfc2231ParameterInfoL( const TDesC8& aTag, TDes& rBuffer, TInt aOffset );
|
|
428 |
TBool DecodeRfc2231ParameterInfoL( TDes8& aInput, TDes& rBufOut,
|
|
429 |
TPtrC8 aCharset/*, TPtrC8 aLanguage*/);
|
|
430 |
TPtrC8 ExtractParameterString(TLexMark8& rMark);
|
|
431 |
|
|
432 |
private:
|
|
433 |
CLocalImRecvConvert& iImRecvConvert;
|
|
434 |
|
|
435 |
CImMimeHeader* iMimeHeader;
|
|
436 |
TInt iEmptyMimeHeaderSize;
|
|
437 |
|
|
438 |
TBool isMime;
|
|
439 |
TBool iCorrectMimeVersion;
|
|
440 |
TImEncodingType iContentEncoding;
|
|
441 |
TMimeContentType iContentType;
|
|
442 |
TFileName iContentDescription;
|
|
443 |
TBool iVCard;
|
|
444 |
TBool iVCalendar;
|
|
445 |
TBool iStartPart;
|
|
446 |
TImEmailFolderType iMessageFolderType;
|
|
447 |
TUint iCharset;
|
|
448 |
TUint iDefaultCharset;
|
|
449 |
HBufC8* iStartId;
|
|
450 |
|
|
451 |
// Boundary stuff
|
|
452 |
CDesC8ArrayFlat* iBoundaryText;
|
|
453 |
TInt iBoundaryIndex;
|
|
454 |
TInt iBoundaryLength;
|
|
455 |
TBool iTerminatingBoundary;
|
|
456 |
TBool iBoundaryFound;
|
|
457 |
TInt iReceiveError; // Indicates if any anomalies were observed whilst the message was received
|
|
458 |
// Can be accessed via the inline ReceiveError()
|
|
459 |
TPtrC8 iTestLine;
|
|
460 |
|
|
461 |
HBufC8* iMimeHeaderLine;
|
|
462 |
TLexMark8 iMark;
|
|
463 |
TLex8 iLex;
|
|
464 |
TLex8 iTestLex;
|
|
465 |
TBool isMessageDigest;
|
|
466 |
TBool iMimeFieldsExist;
|
|
467 |
};
|
|
468 |
|
|
469 |
#include "local_imcvrecv.inl"
|
|
470 |
|
|
471 |
#endif
|