If you're using the free version of Milestone XProtect Essential+, you'll find that the built-in email settings are somewhat limited. In my case, I needed to configure email settings for SendGrid. Here's how to do it.

  1. Configure SendGrid for your domain name and obtain your API key
  2. In the Milestone Management Client, click on Tools -> Options and select the Mail Server tab
  3. Set the Sender e-mail address: to an email account on your domain name
  4. Set the Outgoing mail server address (SMTP) to 127.0.0.1
  5. Uncheck Server requires login, then click OK to close the window
  6. Save the Milestone configuration and close the Management Client
  7. Download and install hMailServer
  8. Open the hMailServer Administrator application
  9. Expand to Settings -> Protocols -> SMTP and select the Delivery of e-mail tab
  10. Under SMTP Relayer:
  • Set Remote host name to smtp.sendgrid.net
  • Set Remote TCP/IP port to 465
  • Check Server requires authentication
  • Set User name to apikey (really set it to this, don't replace with your API key)
  • Set Password to your SendGrid API key
  • Select SSL/TLS for Connection security
  1. Click Save
  2. Expand to Settings -> Advanced -> IP Ranges -> My computer
  3. Uncheck all the boxes under Require SMTP authentication
  4. Click Save
  5. Exit hMailServer Administrator

Email configuration is complete. All that's left to do is to setup a notification profile and event rules in Milestone.