Monthly Archives: February 2012

ActiveSync woes–“Cannot get mail” and the case of the endless re-sync

We recently experienced a really bizarre issue with our ActiveSync infrastructure. Users started complaining that their contacts were disappearing, and that their inboxes would re-synchronise constantly. All items in the inbox would disappear, and then reappear, starting with the oldest … Continue reading

Posted in Exchange Server | Tagged , , , | Leave a comment

Send a HTML email with PowerShell

There’s a simple one-liner (expanded onto multiple lines for clarity) in PowerShell that allows you to send an email with HTML content derived from a HTML file: Send-MailMessage -Subject “Test email” -To “recipient@contoso.com” -From “me@contoso.com” -SmtpServer mail.contoso.com -BodyAsHtml (Get-Content “d:\templates\invite-template.htm” … Continue reading

Posted in PowerShell | Leave a comment