imcvrecv.cpp File Reference
_LIT(KLogFilePath, "c:\\logs\\mailtext\\in.txt")
_LIT
|
(
|
KLogFilePath
|
,
|
|
"c:\\logs\\mailtext\\in.txt"
|
|
|
)
|
|
Parameters
KLogFilePath
|
|
"c:\\logs\\mailtext\\in.txt"
|
|
_LIT8(KNewLogHeader, "\r\n------ New Receive Session ------\r\n")
_LIT8
|
(
|
KNewLogHeader
|
,
|
|
"\r\n------ New Receive Session ------\r\n"
|
|
|
)
|
|
Parameters
KNewLogHeader
|
|
"\r\n------ New Receive Session ------\r\n"
|
|
_LIT8(KFound, "found: ")
_LIT8
|
(
|
KFound
|
,
|
|
"found: "
|
|
|
)
|
|
_LIT8(KFoundIncomplete, "found but incomplete: ")
_LIT8
|
(
|
KFoundIncomplete
|
,
|
|
"found but incomplete: "
|
|
|
)
|
|
Parameters
KFoundIncomplete
|
|
"found but incomplete: "
|
|
_LIT8(KPartLine, "unknown or part line")
_LIT8
|
(
|
KPartLine
|
,
|
|
"unknown or part line"
|
|
|
)
|
|
Parameters
KPartLine
|
|
"unknown or part line"
|
|
_LIT8(KEndOFHeader, "End of header")
_LIT8
|
(
|
KEndOFHeader
|
,
|
|
"End of header"
|
|
|
)
|
|
Parameters
KEndOFHeader
|
|
"End of header"
|
|
_LIT8(KSkippingData, "Skipping data")
_LIT8
|
(
|
KSkippingData
|
,
|
|
"Skipping data"
|
|
|
)
|
|
Parameters
KSkippingData
|
|
"Skipping data"
|
|
_LIT8(KCollectingData7, "Collecting 7/8-bit data")
_LIT8
|
(
|
KCollectingData7
|
,
|
|
"Collecting 7/8-bit data"
|
|
|
)
|
|
Parameters
KCollectingData7
|
|
"Collecting 7/8-bit data"
|
|
_LIT8(KCollectingDataQP, "Collecting QP data")
_LIT8
|
(
|
KCollectingDataQP
|
,
|
|
"Collecting QP data"
|
|
|
)
|
|
Parameters
KCollectingDataQP
|
|
"Collecting QP data"
|
|
_LIT8(KCollectingBase64, "Collecting BASE64 data")
_LIT8
|
(
|
KCollectingBase64
|
,
|
|
"Collecting BASE64 data"
|
|
|
)
|
|
Parameters
KCollectingBase64
|
|
"Collecting BASE64 data"
|
|
_LIT8(KCollectingUU, "Collecting UU data")
_LIT8
|
(
|
KCollectingUU
|
,
|
|
"Collecting UU data"
|
|
|
)
|
|
Parameters
KCollectingUU
|
|
"Collecting UU data"
|
|
_LIT8(KDecodingBase64, "Decoding BASE64 data")
_LIT8
|
(
|
KDecodingBase64
|
,
|
|
"Decoding BASE64 data"
|
|
|
)
|
|
Parameters
KDecodingBase64
|
|
"Decoding BASE64 data"
|
|
_LIT8(KDecodedBase64, "Decoded BASE64 data")
_LIT8
|
(
|
KDecodedBase64
|
,
|
|
"Decoded BASE64 data"
|
|
|
)
|
|
Parameters
KDecodedBase64
|
|
"Decoded BASE64 data"
|
|
_LIT8(KDecodingUU, "Decoding UU data")
_LIT8
|
(
|
KDecodingUU
|
,
|
|
"Decoding UU data"
|
|
|
)
|
|
Parameters
KDecodingUU
|
|
"Decoding UU data"
|
|
_LIT8(KDecodedUU, "Decoded UU data")
_LIT8
|
(
|
KDecodedUU
|
,
|
|
"Decoded UU data"
|
|
|
)
|
|
Parameters
KDecodedUU
|
|
"Decoded UU data"
|
|
_LIT8(KDecodingQP, "Decoding QP data")
_LIT8
|
(
|
KDecodingQP
|
,
|
|
"Decoding QP data"
|
|
|
)
|
|
Parameters
KDecodingQP
|
|
"Decoding QP data"
|
|
_LIT8(KDecodedQP, "Decoded QP data")
_LIT8
|
(
|
KDecodedQP
|
,
|
|
"Decoded QP data"
|
|
|
)
|
|
Parameters
KDecodedQP
|
|
"Decoded QP data"
|
|
_LIT8(KUUEDataCorrupt, "UU Data is corrupt")
_LIT8
|
(
|
KUUEDataCorrupt
|
,
|
|
"UU Data is corrupt"
|
|
|
)
|
|
Parameters
KUUEDataCorrupt
|
|
"UU Data is corrupt"
|
|
_LIT8(KFoundUUEStartBoundary, "UUE start boundary")
_LIT8
|
(
|
KFoundUUEStartBoundary
|
,
|
|
"UUE start boundary"
|
|
|
)
|
|
Parameters
KFoundUUEStartBoundary
|
|
"UUE start boundary"
|
|
_LIT8(KFoundUUEEndBoundary, "UUE end boundary")
_LIT8
|
(
|
KFoundUUEEndBoundary
|
,
|
|
"UUE end boundary"
|
|
|
)
|
|
Parameters
KFoundUUEEndBoundary
|
|
"UUE end boundary"
|
|
_LIT8(KClosingAttachFile, "Closing attachment file")
_LIT8
|
(
|
KClosingAttachFile
|
,
|
|
"Closing attachment file"
|
|
|
)
|
|
Parameters
KClosingAttachFile
|
|
"Closing attachment file"
|
|
_LIT8(KDeletingAttachFile, "Deleting attachment file")
_LIT8
|
(
|
KDeletingAttachFile
|
,
|
|
"Deleting attachment file"
|
|
|
)
|
|
Parameters
KDeletingAttachFile
|
|
"Deleting attachment file"
|
|
_LIT8(KDeletedAttachFile, "Deleted attachment file")
_LIT8
|
(
|
KDeletedAttachFile
|
,
|
|
"Deleted attachment file"
|
|
|
)
|
|
Parameters
KDeletedAttachFile
|
|
"Deleted attachment file"
|
|
_LIT8(KFailedToWriteToFile, "Failed to write to attachment file")
_LIT8
|
(
|
KFailedToWriteToFile
|
,
|
|
"Failed to write to attachment file"
|
|
|
)
|
|
Parameters
KFailedToWriteToFile
|
|
"Failed to write to attachment file"
|
|
_LIT8(KSectionHeader, "Section header")
_LIT8
|
(
|
KSectionHeader
|
,
|
|
"Section header"
|
|
|
)
|
|
Parameters
KSectionHeader
|
|
"Section header"
|
|
_LIT8(KFoundMIMEBoundary, "MIME boundary")
_LIT8
|
(
|
KFoundMIMEBoundary
|
,
|
|
"MIME boundary"
|
|
|
)
|
|
Parameters
KFoundMIMEBoundary
|
|
"MIME boundary"
|
|
_LIT8(KWritingToBody, "writing body")
_LIT8
|
(
|
KWritingToBody
|
,
|
|
"writing body"
|
|
|
)
|
|
Parameters
KWritingToBody
|
|
"writing body"
|
|
_LIT8(KWroteToBody, "wrote body")
_LIT8
|
(
|
KWroteToBody
|
,
|
|
"wrote body"
|
|
|
)
|
|
Parameters
KWroteToBody
|
|
"wrote body"
|
|
_LIT8(KWritingToFile, "writing attachment")
_LIT8
|
(
|
KWritingToFile
|
,
|
|
"writing attachment"
|
|
|
)
|
|
Parameters
KWritingToFile
|
|
"writing attachment"
|
|
_LIT8(KWroteToFile, "wrote attachment")
_LIT8
|
(
|
KWroteToFile
|
,
|
|
"wrote attachment"
|
|
|
)
|
|
Parameters
KWroteToFile
|
|
"wrote attachment"
|
|
_LIT8(KReset, "Resetting CImRecvConvert")
_LIT8(KReseted, "Resetting CImRecvConvert")
_LIT8(KDelete, "Deleting CImRecvConvert")
_LIT8(KDeleted, "Deleting CImRecvConvert")
_LIT8(KLineHasLineBreak, "Linebreak")
_LIT8
|
(
|
KLineHasLineBreak
|
,
|
|
"Linebreak"
|
|
|
)
|
|
Parameters
KLineHasLineBreak
|
|
"Linebreak"
|
|
_LIT8(KLastToken, "That was the last token")
_LIT8
|
(
|
KLastToken
|
,
|
|
"That was the last token"
|
|
|
)
|
|
Parameters
KLastToken
|
|
"That was the last token"
|
|
_LIT8(KBlankLine, "Blank line")
_LIT8
|
(
|
KBlankLine
|
,
|
|
"Blank line"
|
|
|
)
|
|
_LIT8(KRemoveBoundary, "Remove boundary")
_LIT8
|
(
|
KRemoveBoundary
|
,
|
|
"Remove boundary"
|
|
|
)
|
|
Parameters
KRemoveBoundary
|
|
"Remove boundary"
|
|
_LIT8(KRemovedBoundary, "Removed boundary")
_LIT8
|
(
|
KRemovedBoundary
|
,
|
|
"Removed boundary"
|
|
|
)
|
|
Parameters
KRemovedBoundary
|
|
"Removed boundary"
|
|
_LIT8(KResetForNewEntry, "Reset for a New Entry")
_LIT8
|
(
|
KResetForNewEntry
|
,
|
|
"Reset for a New Entry"
|
|
|
)
|
|
Parameters
KResetForNewEntry
|
|
"Reset for a New Entry"
|
|
_LIT8(KResetedForNewEntry, "Reseted for a New Entry")
_LIT8
|
(
|
KResetedForNewEntry
|
,
|
|
"Reseted for a New Entry"
|
|
|
)
|
|
Parameters
KResetedForNewEntry
|
|
"Reseted for a New Entry"
|
|
_LIT8(KResetForNonMimeEntry, "Reset for a New Non-Mime Entry")
_LIT8
|
(
|
KResetForNonMimeEntry
|
,
|
|
"Reset for a New Non-Mime Entry"
|
|
|
)
|
|
Parameters
KResetForNonMimeEntry
|
|
"Reset for a New Non-Mime Entry"
|
|
_LIT8(KResetedForNonMimeEntry, "Reseted for a New Non-Mime Entry")
_LIT8
|
(
|
KResetedForNonMimeEntry
|
,
|
|
"Reseted for a New Non-Mime Entry"
|
|
|
)
|
|
Parameters
KResetedForNonMimeEntry
|
|
"Reseted for a New Non-Mime Entry"
|
|
_LIT8(KCreatingEntry, "Creating Entry")
_LIT8
|
(
|
KCreatingEntry
|
,
|
|
"Creating Entry"
|
|
|
)
|
|
Parameters
KCreatingEntry
|
|
"Creating Entry"
|
|
_LIT8(KCreatedEntry, "Created Entry")
_LIT8
|
(
|
KCreatedEntry
|
,
|
|
"Created Entry"
|
|
|
)
|
|
Parameters
KCreatedEntry
|
|
"Created Entry"
|
|
_LIT8(KUpdatingEntry, "Updating Entry")
_LIT8
|
(
|
KUpdatingEntry
|
,
|
|
"Updating Entry"
|
|
|
)
|
|
Parameters
KUpdatingEntry
|
|
"Updating Entry"
|
|
_LIT8(KUpdatedEntry, "Updated Entry")
_LIT8
|
(
|
KUpdatedEntry
|
,
|
|
"Updated Entry"
|
|
|
)
|
|
Parameters
KUpdatedEntry
|
|
"Updated Entry"
|
|
_LIT8(KMoveToParentEntry, "Moved to parent entry")
_LIT8
|
(
|
KMoveToParentEntry
|
,
|
|
"Moved to parent entry"
|
|
|
)
|
|
Parameters
KMoveToParentEntry
|
|
"Moved to parent entry"
|
|
_LIT8(KMovedToParentEntry, "End of Moved to parent entry")
_LIT8
|
(
|
KMovedToParentEntry
|
,
|
|
"End of Moved to parent entry"
|
|
|
)
|
|
Parameters
KMovedToParentEntry
|
|
"End of Moved to parent entry"
|
|
_LIT8(KStoringHeader, "Storing CImHeader")
_LIT8
|
(
|
KStoringHeader
|
,
|
|
"Storing
CImHeader
"
|
|
|
)
|
|
_LIT8(KStoredHeader, "Stored CImHeader")
_LIT8
|
(
|
KStoredHeader
|
,
|
|
"Stored
CImHeader
"
|
|
|
)
|
|
_LIT8(KStoringBody, "Storing CRichText")
_LIT8
|
(
|
KStoringBody
|
,
|
|
"Storing
CRichText
"
|
|
|
)
|
|
_LIT8(KStoring8BitBody, "Storing CMsvBodyText")
_LIT8(KStoredBody, "Stored CRichText")
_LIT8(KStored8BitBody, "Stored CMsvBodyText")
_LIT8(KStoringMIMEHeader, "Storing CImMimeHeader")
_LIT8(KStoredMIMEHeader, "Stored CImMimeHeader")
_LIT8(KIgnoringStreams, "Discarding streams")
_LIT8
|
(
|
KIgnoringStreams
|
,
|
|
"Discarding streams"
|
|
|
)
|
|
Parameters
KIgnoringStreams
|
|
"Discarding streams"
|
|
_LIT8(KStartMessageComplete, "Start Message Complete")
_LIT8
|
(
|
KStartMessageComplete
|
,
|
|
"Start Message Complete"
|
|
|
)
|
|
Parameters
KStartMessageComplete
|
|
"Start Message Complete"
|
|
_LIT8(KMessageComplete, "Message Complete")
_LIT8
|
(
|
KMessageComplete
|
,
|
|
"Message Complete"
|
|
|
)
|
|
Parameters
KMessageComplete
|
|
"Message Complete"
|
|
_LIT8(KHeaderComplete, "Message Header complete")
_LIT8
|
(
|
KHeaderComplete
|
,
|
|
"Message Header complete"
|
|
|
)
|
|
Parameters
KHeaderComplete
|
|
"Message Header complete"
|
|
_LIT8(KReturnReceiptTo, "return-receipt-To is set")
_LIT8
|
(
|
KReturnReceiptTo
|
,
|
|
"return-receipt-To is set"
|
|
|
)
|
|
Parameters
KReturnReceiptTo
|
|
"return-receipt-To is set"
|
|
_LIT8(KStartStoringEntryStream, "Starting Storing Entry Stream")
_LIT8
|
(
|
KStartStoringEntryStream
|
,
|
|
"Starting Storing Entry Stream"
|
|
|
)
|
|
Parameters
KStartStoringEntryStream
|
|
"Starting Storing Entry Stream"
|
|
_LIT8(KStoringEntryStream, "Storing Entry Stream")
_LIT8
|
(
|
KStoringEntryStream
|
,
|
|
"Storing Entry Stream"
|
|
|
)
|
|
Parameters
KStoringEntryStream
|
|
"Storing Entry Stream"
|
|
_LIT8(KDoneStoringEntryStream, "Done Storing Entry Stream")
_LIT8
|
(
|
KDoneStoringEntryStream
|
,
|
|
"Done Storing Entry Stream"
|
|
|
)
|
|
Parameters
KDoneStoringEntryStream
|
|
"Done Storing Entry Stream"
|
|
const TInt KBodyTextChunkSizeBytes
const
TInt
|
KBodyTextChunkSizeBytes
|
_LIT(KIntegerKey, "%d")
_LIT
|
(
|
KIntegerKey
|
,
|
|
"%d"
|
|
|
)
|
|
const TInt KSpaceToAddNumber
const
TInt
|
KSpaceToAddNumber
|
IsIllegalChar(const TUint)
RemoveSurroundingCharacters(const TUint8 &, const TUint8 &, HBufC8 &)
LOCAL_C void
|
RemoveSurroundingCharacters
|
(
|
const
TUint8
&
|
aLeft,
|
|
const
TUint8
&
|
aRight,
|
|
HBufC8
&
|
aString
|
|
)
|
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.