messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/09-SMTP_RemoveAttachmentUsingAttachmentId.INI
author hgs
Wed, 03 Nov 2010 22:41:46 +0530
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
permissions -rw-r--r--
201044_02

[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

[SmtpCreateAttachment]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" attachmentId0

[SmtpAddFileAttachmentByHandle]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1

[SmtpAddFileAttachmentByPath]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2

[SmtpRemoveFileAttachmentById]
actionParam	= thisSession messageId attachmentId0

[SmtpCountAttachments]
actionParam	= thisSession messageId 2 attachmentCount

[SmtpCompareAttachment0]
actionParam	= thisSession messageId attachmentId1 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"

[SmtpCompareAttachment1]
actionParam	= thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt"