Accessing exchange server over internet
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Accessing exchange server over internet

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Joseph Lee
Guest





Posted: Mon Jan 10, 2005 7:52 am    Post subject: Accessing exchange server over internet Reply with 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
Henning Krause [MVP]
Guest





Posted: Mon Jan 10, 2005 1:43 pm    Post subject: Re: Accessing exchange server over internet Reply with 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...
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 Reply with quote

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
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB