WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: gcnaugle on January 24, 2020, 10:17:51 AM

Title: Download Office365- Outlook attachments
Post by: gcnaugle on January 24, 2020, 10:17:51 AM
Need an updated script to work with this new Outlook (Office 365)
Scripts currently available within the help file do not provide a connection.
Title: Re: Download Office365- Outlook attachments
Post by: td on January 24, 2020, 10:35:00 AM
You are going to get a lot more specific.  What "help file" script are you referring to? What type of server are you attempting to download from?  Are you attempting to use COM Automation object since you mention "Outlook"?  Have you considered the Postie extender instead?   
Title: Re: Download Office365- Outlook attachments
Post by: td on January 27, 2020, 07:12:13 AM
You still aren't provided sufficient detail.  What is failing exactly?  Is ObjectCreate erroring?  Also, what do you mean by  "Outlook is riding on the back of Google"?  Outlook is an email client.  Google offers both an email client with a Web browser interface, POP, MAPI and SMTP servers.  By "help area" I presume you mean the WinBatch Tech Database site.  You can find Postie extender examples there as well as in the extender's help file.  It can be obtained on our Download page.

You can use the WIL Type Viewer application to check for the existence of the "Outlook.Application" COM Automation module on your system.  You can also use the viewer to peruse the object's programming model if it does exist.   MSFT's documentation suggests that Outlook COM Automation is still a supported feature or at least they do not say that it is no longer supported.  The documentation can be found here:
https://docs.microsoft.com/en-us/office/vba/api/overview/outlook/object-model
(https://docs.microsoft.com/en-us/office/vba/api/overview/outlook/object-model)
However, you might be better served using Postie.