cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: hitting exchange portal

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 23 Aug 2006 11:34:00 -0700

On Wed, Aug 23, 2006 at 02:06:13PM -0400, Blurry wrote:
> Has anyone used curl (and NTLM I assume) to login to the portal for
> outlook for exchange 2003 ? Here is what it looks like
> http://www.msexchange.org/img/upl/image0031091787273734.jpg

You shouldn't need NTLM, depending on how it's configured, but you do need
https. The following curl command should work:

curl -s -b cookies.txt -c cookies.txt -L https://mail.testdomain.com/exchange -d destination=https%3a//mail.testdomain.com/exchange -d flags=0 -d username=USER -d password=PASSWORD -d SubmitCreds=Log%20On -d trusted=0 https://mail.testdomain.com/exchweb/bin/auth/owaauth.dll

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-08-23