[Gllug] outlook grabber

Dean Price deano at price4.org
Sat Sep 20 17:22:48 UTC 2003


Xander,

sorry to bother you but I saw a post by you stating that you are using
outlook grabber.. I was wondering if you have seen the following problems.

[deano at scotch deano]$ outlook-grabber.pl /home/deano/
Use of uninitialized value in index at /usr/bin/outlook-grabber.pl line 232.
Use of uninitialized value in substr at /usr/bin/outlook-grabber.pl line 232.

The offending code is here:
{
  # get the login page so that we get the cookies for the ASP session.
Then go to mailbox

  my $cookiepage = get_page("/exchange");
  my $cookie = $cookiepage->header('Set-Cookie');
  $cookie = substr($cookie, 0, index($cookie, ";"));  <--- This is line 232
  $headers->header('Cookie' => $cookie);

  my $url = "/exchange/LogonFrm.asp?isnewwindow=0&mailbox=$mbox";
  my $framepage = get_page($url);
}


Dean Price
deano at price4.org
dprice at charter.net
dean.price at ctg.com
910-797-3895



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list