Creating Email in the 'correct' Outlook running

  • Thread starter Thread starter Amir
  • Start date Start date
A

Amir

Hi,

In my organization they've done some kind of trick to allow the usage of two
Outlook applications in the same time.

The first Outlook is a 'normal' one working with an exchange server, and
the second one is a variation of the original program which displays mail in
a different way and used for different purposes, using different username,
password etc (The GUI is a bit different too).

In order for that to work correctly we need always to first open the
'normal' Outlook, then the 'second' one (Otherwise it opens two windows of
the second outlook).

Problem is if I want to automate creating Email messages it always opens the
second ('bad') Outlook unless I don't run it at, but users are always
working with both application opened, so that makes Email automation
impossible by far.

I don't know much about how they cracked that Outlook program but I'm
looking for a way to use VBA to send Email messages from Word.

Is there any way to use code that will know how to 'select' the real program
(even using some debugging and making some trials), so that I will be able
to automate Email sending in the 'real' Outlook?

Kind Regards,
Amir.
 
Hi Amir,

if CreateObject("Outlook.Application") doesn´t start Outlook, but
another Application, you should ask your organization´s cracks how to
work around.
 
Thank you, I'll check that.

Kind Regards,
Amir.

Michael Bauer said:
Hi Amir,

if CreateObject("Outlook.Application") doesn´t start Outlook, but
another Application, you should ask your organization´s cracks how to
work around.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top