messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/03-SMTP_AddAttachmentFromPublicArea.INI
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/03-SMTP_AddAttachmentFromPublicArea.INI	Wed Nov 03 22:41:46 2010 +0530
@@ -0,0 +1,26 @@
+[GetConstants]
+actionParam	= inboxId outboxId draftsId sentId deletedId
+
+[SmtpMTMUId]
+actionParam	= smtpUid
+
+[SessionId]
+actionParam	= thisSession
+
+[CreateSmtpService]
+actionParam	= thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId
+
+[CreateRegistry]
+actionParam	= thisSession clientMTMRegistry
+
+[SetDefaultConfigurationEMailFile]
+actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\AttachmentAPI_SimpleEmail01.txt"
+
+[CreateSmtpMessageFromEmailFile]
+actionParam	= thisSession smtpServiceId outboxId 0 messageId
+
+[SmtpAddFileAttachmentByPath]
+actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId
+
+[SmtpCountAttachments]
+actionParam	= thisSession messageId 1 attachmentCount
\ No newline at end of file