Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Access Shared mailbox on Exchage Server 2013

$
0
0
Hello Aspose team,
We are using Exchage Sever 2013
We are using IEWSClient to access mailbox on exchange server.

This is the way how I create client:
NetworkCredential credentials = new NetworkCredential(UserName, Password, Domain);
IEWSClient mailClient = EWSClient.GetEWSClient(SeverHost, credentials);

This is the way how I list messages in specific folder (Inbox or any others):
string folderUri = GetSubFolderUri(pSubfolderName, false);
MailQuery mq = BuildMailQuery(pFromAddress, pFromName , pTo, pSubject, pBody, pHasAttachments, pStatus, pFromDate, pToDate);
var mails = mailClient.ListMessages(folderUri, pMaxResult, mq)

I need help with shared mailbox access
On exchange server my account has permissions to list messages from shared mailbox.
How can I list messages from shared mailbox using AsposeAPI?
Any help , code samples etc will be useful.
Thanks a lot
George


Viewing all articles
Browse latest Browse all 1367

Trending Articles