Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winax with Outlook #96

Open
ketomagasaki opened this issue Jun 23, 2021 · 1 comment
Open

Winax with Outlook #96

ketomagasaki opened this issue Jun 23, 2021 · 1 comment

Comments

@ketomagasaki
Copy link

Hello,

I am trying to use Winax on Outlook. The goal is to browse the mails in addresses.
I start with:

var obOutlook = new ActiveXObject ('Outlook.Application');
var obNameSpace = obOutlook.GetNameSpace ('MAPI');

Then:

var obBoite = obNameSpace.Folders (‘xxxxxxxx@xxxx.com ’);

Node.js closes directly without an error message.
Do you have sample code to browse email addresses open in Outlook.exe?

Thank you

@somanuell
Copy link
Contributor

You have to use a require clause.
If you don't, node says ReferenceError: ActiveXObject is not defined
If you do, there is no errors, and node exits normaly when your script ends.
you should add a console.log as last line.

You should search the Internet for code doing what you want with the Outlook ActiveX, either in VBA or in Javascript, and validate the code witch cscript.exe

Then try with winax, and open issue if you found problems.

That particular issue should be Closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants