Xiaobo Yang <xiaobo.yang <at> gmail.com> writes:
>
> Hi, I can send an email using Slide through MS exchange server but have
> problems to add attachment. I used the code below but always with status
> code 403 returned. I suppose attachment can be added to the message body.
> Any idea? Thanks in advanced.
>
> Xiaobo Yang
I am new to Slide. How do I connect to my exchange server with HTTPS? I have
tried the code below
org.apache.commons.httpclient.HttpsURL hrl = new
org.apache.commons.httpclient.HttpsURL(
"https://<server>/exchange/<user
alias>/Inbox");
NTCredentials ntc = new NTCredentials
("<username>", "<password>",
"<domain>", "CC");
WebdavResource wdr = new WebdavResource(hrl, ntc,
WebdavResource.ALL, DepthSupport.DEPTH_1);
But I always get an 440 error.
Any Ideas?
Thanks
Hendrik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]