> Yup, just as I thought. If you have to OHN set to domain.com,
> if you try to
> go to the Web Calendaring the URL will be built as domain.com
> and in most
> cases will point it to the Web server and not the Mail server for the
> domain.

That's a straightforward fix in the web templates... we've done it in our
Classic and Killer templates. This JavaScript function shows the key idea,
which is to use "self.location.hostname" (JS for the hostname shown in the
URL) to build the links, not the OHN of the IMail host (which may or may
not resolve to the webmail/ical system):

function openCalendar(){
        var myWebMailHost=self.location.hostname;
        <!--IMAIL.BeginSSL-->
            hostPath="https://"+myWebMailHost+":<!--IMAIL.ICalSSLServerPort-->/";
        <!--IMAIL.ElseBeginSSL-->
            hostPath="http://"+myWebMailHost+":<!--IMAIL.ICalServerPort-->/";
        <!--IMAIL.EndBeginSSL-->
        <!--IMAIL.BeginIfIcalNewWindowOption-->
        var
temp=window.open(hostPath+'?autosubmit=true','Calendar','width=600,height=
400,status,toolbar,menubar,scrollbars,resizable');
        <!--IMAIL.ElseBeginIfIcalNewWindowOption-->
        parent.contentFrame.location.href=hostPath+'?autosubmit=true';
        <!--IMAIL.EndBeginIfIcalNewWindowOption-->
}

Hope that helps,

Ron Hornbaker
President/CTO
  .  .  .  .  .  .  .  .  .  .  .  .  http://humankindsystems.com
  .  .  .  .  .  .  .  .  .  .  .  .  w e  c o d e.  w e  c a r e.

  .  http://AnswerTrack.com - eCRM email tracking solution
  .  http://KillerWebMail.com - the name says it all
  .  http://hksi.net/products - EZSignUp, You'veGotIMail!, etc...
  .  http://hksi.net/testimonials - 1,734 admins can't be wrong




Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to