Forum Discussion

rmanning's avatar
rmanning
Contributor
14 years ago

Send folder of attachments using built in Sendmail


Is there any way to send a folder of attachments using the built in sendmail function of TestComplete (as opposed to using the Collaboration Data Objects to do this?)



I ask because Office 2010 (Outlook 2010) no longer includes CDO support (see: http://support.microsoft.com/kb/2028411)

and I would like to use the built in sendmail function instead.



Does anyone know of a way to generate a file name list by way of a folder's content using VBScript - And subsequently inserting that list into the SendMail function? (http://www.automatedqa.com/support/viewarticle.aspx?aid=12301)



Thanks!

1 Reply


  • Hi,







    Office 2010 (Outlook 2010) no longer includes CDO support



    Let me quote the "Collaboration Data Objects" article from Wikipedia:







    CDO is a technology for building messaging or collaboration applications. CDO can be used separately or in connection with Outlook Object Model to gain more access over Outlook. CDO is not a part of Outlook Object Model and it doesn't provide any event-based functionality, nor can Outlook objects be manipulated using CDO.







    So, you can continue using any of the two independent approaches described in the help topic you have mentioned: either CDO or the approach (which uses Microsoft Outlook) from the TestComplete samples.





    As an alternative, you can create an archive with the needed files or folders and send this single archive using SendMail (as it is described in the help topic you have mentioned).