messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/12-SMTP_RemoveAllAttachmentsUsingAttachmentId.INI
[GetConstants]
actionParam = inboxId outboxId draftsId sentId deletedId
[SmtpMTMUId]
actionParam = smtpUid
[SessionId]
actionParam = thisSession
[CreateSmtpService]
actionParam = thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId
[CreateRegistry]
actionParam = thisSession clientMTMRegistry
[CreateMessageEntry]
actionParam = thisSession draftsId smtpUid smtpServiceId _ _ _ "SMTPMessageEntry" "SMTPMessageEntryDetails" messageEntryId
[MoveEntry]
actionParam = thisSession messageEntryId inboxId
[FindEntryByName]
actionParam = thisSession inboxId "SMTPMessageEntry" entryId
[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
[SmtpAddEntryAttachment]
actionParam = thisSession messageId entryId attachmentId3
[SmtpCountAttachments0]
actionParam = thisSession messageId 4 attachmentCount0
[SmtpRemoveFileAttachmentById0]
actionParam = thisSession messageId attachmentId0
[SmtpRemoveFileAttachmentById1]
actionParam = thisSession messageId attachmentId1
[SmtpRemoveFileAttachmentById2]
actionParam = thisSession messageId attachmentId2
[SmtpRemoveEntryAttachmentById]
actionParam = thisSession messageId attachmentId3
[SmtpCountAttachments1]
actionParam = thisSession messageId 0 attachmentCount1