I know this is an old thread, but I seem to have been following a well-
worn path to the conclusion that TB Webmail+OWA does not work with
Exchange 2007. I got a similar error, about "kBaseURLAlt" so I checked
out the sources from the CVS repository to have a look:

  cd /usr/local/src
  cvs -d :pserver:guest:[email protected]:/cvs login
  cvs -z3 -d :pserver:[email protected]:/cvs co webmail

You need "ant" installed to rebuild the *.xpi package using
"build.xml":

  cd webmail/src/owa
  ant

So far so good - I can rebuild the *.xpi package. Now I had a look at
the reason "kBaseURLAlt" was not defined. In fact, there are two forms
of the HTML <BASE tag and I suspect that "kBaseURLAlt" was intended to
catch the 'Alternative' format, but never defined, so I defined it in:

  owa/content/owa/OWA-Constants.js
  [...]
  const kBaseURL = /<BASE href="(.*?)">/i;
  const kBaseURLAlt = /<BASE target="(.*?)">/i;
  [...]

These constants are regular expressions that look for the tags in the
HTML generated by the OWA server. I rebuilt the *.xpi package and
installed it in TB but, unfortunately, I quickly discovered that <BASE
tags are not used by OWA in Exchange 2007 and this is why the
exception occurs. I've now managed to get TB+Webmail+OWA to log in on
an Exchange 2007 server, and I've got a few things like the URI of the
OWA Inbox captured by changing the regular expressions in "OWA-
Constants.js" but before I go any further with this I'd like to know
if anyone else has been working on the source code to get Webmail+OWA
working with Exchange 2007?

Thanks,

  Tony.

On May 15 2008, 1:11 pm, dbarstis <[email protected]> wrote:
> I've spent the better part of 2 days looking for an answer to this
> question.  I've installed Webmail 1.3.2 and owa-0-7-0a28.  It works
> just fine connecting to Exchange 2003.  I just get "negative vibes"
> from Exchange 2007.
>
> Error console shows:
>
> nsOWA.js: loginHandler : Exception : TypeError.
> Error message: szResponse.match(kBaseURL) has no properties
> 162
>
> Can anyone point me in the direction?
-- 
You received this message because you are subscribed to the Google Groups 
"Thunderbird Webmail Extension" group.
To post to this group, send email to 
[email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thunderbird-webmail-extension?hl=en.


Reply via email to