im using webdav, httpclient api, to send email to exchange 2007
with the following code i send a message successfully:
Code:
String strTempRelativeURI="https://webmail/exchange/[email protected]/Drafts/"; PutMethod pm = new PutMethod ("https://webmail/exchange/[email protected]/Drafts/test5.eml/"); pm.setRequestBody(body); client.executeMethod(pm);