equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // definitions of hard-coded data required by the RFC822 protocol |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined ( __IMCVDATA_H__ ) |
|
19 #define __IMCVDATA_H__ |
|
20 |
|
21 #if !defined (__E32STD_H__) |
|
22 #include <e32std.h> |
|
23 #endif |
|
24 |
|
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. |
|
27 |
|
28 const TInt KMaxIMailHeaderReadLineLength = 1024; |
|
29 const TInt KMaxIMailHeaderWriteLineLength = 76; |
|
30 const TInt KMaxIMailHeaderLineLength = 1000; |
|
31 const TInt KMaxIMailBodyLineLength = 79; |
|
32 |
|
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; |
|
36 |
|
37 |
|
38 /** |
|
39 @internalComponent |
|
40 @released |
|
41 */ |
|
42 enum TMimeContentType { EMimeUnknownContent=0, |
|
43 EMimeText, |
|
44 EMimeMessage, |
|
45 EMimeMultipart, |
|
46 EMimeImage, |
|
47 EMimeApplication, |
|
48 EMimeAudio, |
|
49 EMimeVideo, |
|
50 EMimeTextDirectory }; |
|
51 |
|
52 |
|
53 #endif |