Therefore, it's a good idea to monitor your SMTP server as part of your overall health checks. Whatever the reason you send out e-mails, it's likely that your system depends heavily on it. Or maybe your login section sends password reset e-mails to users that forget their credentials. For example, you may be running an Ecommerce site that sends out order confirmations or back-in-stock notifications. It's quite likely your site depends on the presence of an SMTP server.
Installing and configuring the SMTP health check In the Github repository for this article. You'll find the full code for the article as a download at the end of this article, as well as In this article, I'll show you how to install and configure two of them (the SMTP healthĬheck and the disk space check) but I encourage you to check out the Github repo and take a look at what other You find a great open source project (licensed under the Apache-2.0 license ) with plenty of health checks for a While you could create health checks for this Your Cosmos DB or any of your other HTTP web services are online. Server is up and reachable? Or what if you want to make sure your Azure storage account can be accessed? Or maybe For example, what if you wanted to ensure your SMTP Want to carry out to ensure your system is in a healthy state. But there are plenty of other checks you may In the previous articles about health checks you saw how to monitor the current web site (is it up or not), checkĪ (remote) SQL Server and monitor the disk space of the local server.