| Author |
Message |
Joseph Lee
Guest
|
Posted:
Mon Jan 10, 2005 7:52 am Post subject:
Accessing exchange server over internet |
|
|
Hi,
Does anyone know how to access remote exchange server. My code works on the
exchange server itself. However I would need to be able to run my code thru
the internet
session.Logon(profileName, profilePassword, true, true, 0, true,
profileInfo);
profileName = "joe";
profilePassword = "joepassword"
profileInfo = "oscar\njoe";
Due to the fact that the code runs on the same server, the name 'oscar',
which is my server name works. What value should i put if i am accessing it
over the internet. It will not recognize the word 'oscar'. Is there another
function to specify the server ip address as I can't find it.
I tried oscar.asdf.com as the server name in the profile. It didn't work as
well.
Any help and suggestion would be great.
Joey
|
|
| Back to top |
|
 |
Henning Krause [MVP]
Guest
|
Posted:
Mon Jan 10, 2005 1:43 pm Post subject:
Re: Accessing exchange server over internet |
|
|
It seems that you are using MAPI, right?
Bad news, unless you would have exposed the RPC ports to the internet, which
would not be wise.
What you can do is to create a VPN to your network first. Then your code
should work.
Greetings,
Henning Krause [MVP]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)
"Joseph Lee" <joeylta1979@hotmail.com> wrote in message
news:eP20ybr9EHA.2552@TK2MSFTNGP09.phx.gbl...
| Quote: | Hi,
Does anyone know how to access remote exchange server. My code works on
the
exchange server itself. However I would need to be able to run my code
thru
the internet
session.Logon(profileName, profilePassword, true, true, 0, true,
profileInfo);
profileName = "joe";
profilePassword = "joepassword"
profileInfo = "oscar\njoe";
Due to the fact that the code runs on the same server, the name 'oscar',
which is my server name works. What value should i put if i am accessing
it
over the internet. It will not recognize the word 'oscar'. Is there
another
function to specify the server ip address as I can't find it.
I tried oscar.asdf.com as the server name in the profile. It didn't work
as
well.
Any help and suggestion would be great.
Joey
|
|
|
| Back to top |
|
 |
Joseph Lee
Guest
|
Posted:
Mon Jan 10, 2005 4:29 pm Post subject:
Re: Accessing exchange server over internet |
|
|
ic. Thanks for the info.
"Henning Krause [MVP]" <newsgroup.no@spam.infinitec.de> wrote in message
news:ev83Mhu9EHA.4072@TK2MSFTNGP10.phx.gbl...
| Quote: | It seems that you are using MAPI, right?
Bad news, unless you would have exposed the RPC ports to the internet,
which
would not be wise.
What you can do is to create a VPN to your network first. Then your code
should work.
Greetings,
Henning Krause [MVP]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)
"Joseph Lee" <joeylta1979@hotmail.com> wrote in message
news:eP20ybr9EHA.2552@TK2MSFTNGP09.phx.gbl...
Hi,
Does anyone know how to access remote exchange server. My code works on
the
exchange server itself. However I would need to be able to run my code
thru
the internet
session.Logon(profileName, profilePassword, true, true, 0, true,
profileInfo);
profileName = "joe";
profilePassword = "joepassword"
profileInfo = "oscar\njoe";
Due to the fact that the code runs on the same server, the name 'oscar',
which is my server name works. What value should i put if i am accessing
it
over the internet. It will not recognize the word 'oscar'. Is there
another
function to specify the server ip address as I can't find it.
I tried oscar.asdf.com as the server name in the profile. It didn't work
as
well.
Any help and suggestion would be great.
Joey
|
|
|
| Back to top |
|
 |
|
|
|
|