messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/12-SMTP_RemoveAllAttachmentsUsingAttachmentId.INI
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 [GetConstants]
       
     2 actionParam	= inboxId outboxId draftsId sentId deletedId
       
     3 
       
     4 [SmtpMTMUId]
       
     5 actionParam	= smtpUid
       
     6 
       
     7 [SessionId]
       
     8 actionParam	= thisSession
       
     9 
       
    10 [CreateSmtpService]
       
    11 actionParam	= thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId
       
    12 
       
    13 [CreateRegistry]
       
    14 actionParam	= thisSession clientMTMRegistry
       
    15 
       
    16 [CreateMessageEntry]
       
    17 actionParam	= thisSession draftsId smtpUid smtpServiceId _ _ _ "SMTPMessageEntry" "SMTPMessageEntryDetails" messageEntryId
       
    18 
       
    19 [MoveEntry]
       
    20 actionParam	= thisSession messageEntryId inboxId
       
    21 
       
    22 [FindEntryByName]
       
    23 actionParam	= thisSession inboxId "SMTPMessageEntry" entryId
       
    24 
       
    25 [SetDefaultConfigurationEMailFile]
       
    26 actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\AttachmentAPI_SimpleEmail01.txt"
       
    27 
       
    28 [CreateSmtpMessageFromEmailFile]
       
    29 actionParam	= thisSession smtpServiceId outboxId 0 messageId
       
    30 
       
    31 [SmtpCreateAttachment]
       
    32 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" attachmentId0
       
    33 
       
    34 [SmtpAddFileAttachmentByHandle]
       
    35 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1
       
    36 
       
    37 [SmtpAddFileAttachmentByPath]
       
    38 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2
       
    39 
       
    40 [SmtpAddEntryAttachment]
       
    41 actionParam	= thisSession messageId entryId attachmentId3
       
    42 
       
    43 [SmtpCountAttachments0]
       
    44 actionParam	= thisSession messageId 4 attachmentCount0
       
    45 
       
    46 [SmtpRemoveFileAttachmentById0]
       
    47 actionParam	= thisSession messageId attachmentId0
       
    48 
       
    49 [SmtpRemoveFileAttachmentById1]
       
    50 actionParam	= thisSession messageId attachmentId1
       
    51 
       
    52 [SmtpRemoveFileAttachmentById2]
       
    53 actionParam	= thisSession messageId attachmentId2
       
    54 
       
    55 [SmtpRemoveEntryAttachmentById]
       
    56 actionParam	= thisSession messageId attachmentId3
       
    57 
       
    58 [SmtpCountAttachments1]
       
    59 actionParam	= thisSession messageId 0 attachmentCount1