Unread Mail Count SMS Notification EX2007
-
Monday, July 25, 2011 2:19 PM
Good Day!
basically i am wondering if there is a possibility of sending the amount of unread messages as an SMS every evening using an API
our sms provider just needs the number and details passing as PHP variables eg.
http://xxxx/sendsms.php?number=xxxxx?from=xxxx?message=Hi you have xx new messages
im guessing a powershell script can be used to pull the data and dump the variables.
any pointers much appriciated
Thanks
Adam
All Replies
-
Monday, July 25, 2011 5:57 PM
Hi Adam,
this might help you:
http://www.infinitec.de/post/2011/07/25/How-to-get-the-number-of-unread-mails-from-multiple-mailboxes-using-the-EWS-Managed-API-and-PowerShell.aspxKind regards,
Henning"AdamPierce" wrote in message news:d9e9d54a-b2f3-4184-ad69-469fa8035f1d@communitybridge.codeplex.com...
Good Day!
basically i am wondering if there is a possibility of sending the amount of unread messages as an SMS every evening using an API
our sms provider just needs the number and details passing as PHP variables eg.
http://xxxx/sendsms.php?number=xxxxx?from=xxxx?message=Hi you have xx new messages
im guessing a powershell script can be used to pull the data and dump the variables.
any pointers much appriciated
Thanks
Adam
-
Wednesday, July 27, 2011 7:37 PM
Hi,
thanks for that. will this also work on exchange 2007. im getting an error to show the dll cannot be found.
Adam
-
Wednesday, July 27, 2011 7:59 PM
Hi Adam,
yes, this also works with Exchange 2007. Do you have installed the EWS Managed API 1.1?
http://www.microsoft.com/download/en/details.aspx?id=13480
You'll also need to change the
[Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2010_SP1
in line 12 to
[Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1Kind regards,
Henning
"AdamPierce" wrote in message news:9affc4c8-24d0-4c00-8229-a341b049b8cd@communitybridge.codeplex.com...Hi,
thanks for that. will this also work on exchange 2007. im getting an error to show the dll cannot be found.
Adam

