messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	Wed Nov 03 22:41:46 2010 +0530
@@ -0,0 +1,74 @@
+[GetBaseConstants]
+actionParam	= inboxFolderId outboxFolderId draftsFolderId sentFolderId deletedFolderId
+
+[DeletePopAccounts]
+actionParam	= -1
+
+[DeleteImapAccounts]
+actionParam	= -1
+
+[CountPopAccounts1]
+actionParam =  0
+
+[CountImapAccounts1]
+actionParam = 0
+
+[CreateSession]
+actionParam	= session
+
+[ResetMessageStore]
+actionParam	= session
+
+[CreateImapAccount1]
+actionParam = "IMAPAccount1" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" accountId1 ImapSettings1 ImapPrefs1 SmtpSettings1 SmtpPrefs1
+
+[CreateSmtpService]
+actionParam	= session _ _ _ _ "SmtpService" smtpServiceId
+
+[CreateRegistry]
+actionParam	= session clientMtmRegistry
+
+[CreateSmtpMtm]
+actionParam	= session smtpServiceId clientMtmRegistry smtpMtm
+
+[SetSmtpServiceParameters]
+actionParam	= session smtpServiceId	0
+
+[SetDefaultConfiguration0]
+actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt"
+
+[ChkChildrenCountDraft0]
+actionParam	= session draftsFolderId 0
+
+[ChangeDefaultSmtpService]
+actionParam = smtpServiceId smtpMtm
+
+[ConnectSendAsServer]
+actionParam	=  10 sendAs
+
+[GetSMTPMTMUId]
+actionParam 	=  smtpTypeId
+
+[GetAvailableAccounts]
+actionParam	=  sendAs smtpTypeId accountInfo
+
+[GetAccountNames]
+actionParam	=  accountInfo accountCount
+
+[CountAvailableAccounts1]
+actionParam	= accountInfo 1  0 "IMAPAccount1"
+
+[GetAccount]
+actionParam	=  accountInfo 0 account
+
+[CreateMessageWithAccount]
+actionParam	=  sendAs account sendAsMessage 
+
+[SendAsSaveMessageAndClose]
+actionParam	= sendAsMessage
+
+[CloseSvrConnection]
+actionParam	= sendAs
+
+[ChkChildrenCountDraft1]
+actionParam	= session draftsFolderId 1
\ No newline at end of file