messagingfw/msgtestfw/TestCases/ScriptedTestCases/upssupport/msg-sendas-smtp-donotallow-0004.ini
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/upssupport/msg-sendas-smtp-donotallow-0004.ini Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,80 @@
+[GetBaseConstants]
+actionParam = inboxFolderId outboxFolderId draftsFolderId sentFolderId deletedFolderId
+
+[InitNtRas]
+actionParam =
+
+[SMTPMTMUId]
+actionParam = smtpUid
+
+[CreateSession]
+actionParam = session
+
+[ResetMessageStore]
+actionParam = session
+
+[CreateImap4Service]
+actionParam = session _ _ _ _ "Imap4Service" "SendAsIMAPAccount" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" imap4ServiceId
+
+[CreateSmtpService]
+actionParam = session _ _ _ _ "SmtpService" smtpServiceId
+
+[CreateRegistry]
+actionParam = session clientMtmRegistry
+
+[CreateSmtpMtm]
+actionParam = session smtpServiceId clientMtmRegistry smtpMtm
+
+[SetDefaultConfiguration0]
+actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt"
+
+[SetSmtpServiceParams]
+actionParam = session smtpServiceId _
+
+[ChkChildrenCountDraft0]
+actionParam = session draftsFolderId 0
+
+[CreateImap4Mtm]
+actionParam = session imap4ServiceId clientMtmRegistry imap4Mtm
+
+[SetDefaultConfigurationIMAP]
+actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfImap4Settings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt"
+
+[SetImap4ServiceParameters]
+actionParam = session imap4ServiceId _
+
+[ChangeDefaultSmtpService]
+actionParam = smtpServiceId smtpMtm
+
+[ConnectSendAsServer]
+actionParam = 10 sendAs
+
+[CreateMessageofType]
+actionParam = sendAs smtpUid sendAsMessage
+
+[SendAsAddLinkedAttachment]
+actionParam = sendAsMessage "c:\msgtest\TestFramework\ScriptedTestCases\SendAs\data\TestImage.jpg" "image/jpeg"
+
+[SendAsSetSubject]
+actionParam = sendAsMessage "Subject" 0
+
+[SendAsAddRecipient]
+actionParam = sendAsMessage _ "SanjeevM" RSendAsMessage::TSendAsRecipientType::ESendAsRecipientTo smtpUid 0 smtpServiceId recipientAddress
+
+[SetUserResponse]
+actionParam = session 1
+
+[SendAsSendMessage]
+actionParam = sendAsMessage 1 _ sendaserror
+
+[CloseMessage]
+actionParam = sendAsMessage
+
+[CloseSvrConnection]
+actionParam = sendAs
+
+[ChkChildrenCountSent0]
+actionParam = session sentFolderId 0
+
+[CheckErrorCode]
+actionParam = sendaserror -46