--- a/email/pop3andsmtpmtm/servermtmutils/inc/IMSK.H Tue Oct 05 13:58:47 2010 +0530
+++ b/email/pop3andsmtpmtm/servermtmutils/inc/IMSK.H Tue Oct 19 11:30:16 2010 +0530
@@ -28,14 +28,9 @@
#include <es_sock.h>
#include <in_sock.h>
#include <f32file.h>
-#include <mentact.h>
-#include <miutlog.h>
#include <miut_err.h>
#include <miuthdr.h>
-
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "timrfc822datefield.h"
-#endif
+#include <mentact.h> // CMsgActive
#ifdef _DEBUG
#define __IMSK_SIMULATION
@@ -46,6 +41,8 @@
#define __IMSK_SCRIPTING
#endif
+const TInt KMailMaxBufferSize = 1000; // 1000 is defined by the SMTP spec as max space
+
/**
@publishedAll
@released
@@ -66,7 +63,7 @@
@publishedAll
@released
*/
-typedef TBuf8<KImMailMaxBufferSize> TImMailBuffer;
+typedef TBuf8<KMailMaxBufferSize> TImMailBuffer;
/** received buffer data line type
@publishedAll
@@ -87,7 +84,7 @@
class CImConnect;
class CSecureSocket;
class CImSocketIdleTimer;
-
+class CMsgActive;
/**
Creates/opens socket and sends and receives data.
@@ -384,7 +381,7 @@
//Do not call SetSecurity. Call SetSSLTLSResponseL
IMPORT_C TInt SetSecurity(TBool aSecurityOn, TBool aUnattendedMode = FALSE);
IMPORT_C void PerformLogging(TBool aLogging);
-
+ inline void SetSilentConnection(TBool aIsSilent);
private:
/**
//cat Construction and Destruction
@@ -613,6 +610,14 @@
/** SSL domain name for secure sockets */
HBufC8* iSSLDomainName;
TBool iSocketIdleTimeSet; // iSocketIdleTimeSet=ETrue, if smtp server did not responds within 10 seconds after sending "."
+ TBool iIsSilent; //Silent Connection
};
+
+// Sets if Silent connection is required or not
+inline void CImTextServerSession::SetSilentConnection(TBool aIsSilent)
+ {
+ iIsSilent = aIsSilent;
+ }
+
#endif