Home All Groups Group Topic Archive Search About
Author
5 Apr 2006 8:30 PM
Praveen
I don't know if this question fits in this forum right, but at least some one
can give me an idea so I can look where to look fot this info.

We use OWA for accessing our emails.
If we are inside our office network, we type the http://computername and
when we are outside the office network we use http://mail.domain.com (we
cannot access external network when we are inside our network)
I want to put a link on our website for webmail, but how should that page
differentiate whether the link is clicked from inside the netwok or outside.
Any help is appreciated.

Thanks,
Praveen Minumula

Author
6 Apr 2006 2:06 PM
Lee Derbyshire
Show quote
"Praveen" <Prav***@discussions.microsoft.com> wrote in message
news:FF5CBEE2-0EA2-41CF-82DA-51F7EAE8BDBD@microsoft.com...
> I don't know if this question fits in this forum right, but at least
some one
> can give me an idea so I can look where to look fot this info.
>
> We use OWA for accessing our emails.
> If we are inside our office network, we type the http://computername
and
> when we are outside the office network we use http://mail.domain.com
(we
> cannot access external network when we are inside our network)
> I want to put a link on our website for webmail, but how should that
page
> differentiate whether the link is clicked from inside the netwok or
outside.
> Any help is appreciated.
>
> Thanks,
> Praveen Minumula

If your LAN uses private IP addresses, and your portal is an .asp
page, you can use VBScript in the part of the page where the link
shoul appear:

<!-- Rest of page in HTML -->
<% remoteAddr = Request.ServerVariables("REMOTE_ADDR")
If Left(remoteAddr, 3) = "192" Then
  %><a href="http://computername/exchange">OWA</a>
<% Else
  %><a href="http://mail.domain.com/exchange">OWA</a>
<% End If %>
<!-- Rest of page in HTML -->

Lee.

--
_______________________________________

Outlook Web Access For PDA , OWA For WAP
www.owapda.com
email a@t leederbyshire d.0.t c.0.m
_______________________________________

AddThis Social Bookmark Button