1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // definitions of hard-coded data required by the RFC822 protocol
18 #if !defined ( __IMCVDATA_H__ )
19 #define __IMCVDATA_H__
21 #if !defined (__E32STD_H__)
25 // max SMTP line length is actually 1001 but this includes a CR
26 // so allow 1024 characters to be nice to the memory allocator.
28 const TInt KMaxIMailHeaderReadLineLength = 1024;
29 const TInt KMaxIMailHeaderWriteLineLength = 76;
30 const TInt KMaxIMailHeaderLineLength = 1000;
31 const TInt KMaxIMailBodyLineLength = 79;
33 // From RFC 1521, (Boundaries) must be no longer than 70 characters.
34 // Including beginning and end "--" lets check for 74.
35 const TInt KMaxBoundaryTextLength = 74;
42 enum TMimeContentType { EMimeUnknownContent=0,