AlwaysUp is designed to run your application as a Windows Service and automatically restart it when it crashes or stops for any reason. Even though this frees you from having to take any action on a failure (eliminating those unwelcome “server-not-working” calls at 3 AM), you may still want to:
- Find out how often your application is failing
- Know the time when your program stops working (for diagnostic purposes)
- See how your application is using CPU and memory over the course of the day
- Find out whenever your server has been rebooted
Automatic email from AlwaysUp will tell you all that, and more!
Specifying Who to Email & When to Send a Message
To setup email in AlwaysUp, edit your application and switch to the Email tab:
Enter the following:
- The email address to notify. To send to multiple addresses, just separate each one with a comma (,).
- When AlwaysUp should send you an email — either in response to an important event, or at a regular time. The daily and weekly summary emails are a good way to monitor your application’s activities without having to receive multiple emails throughout the day.
- A line of text to be included in the email. This value is optional, but you can use it to explicitly label a server & application when you have many installed with the same name (for example, when you are running the same application on many different workstations).
AlwaysUp doesn’t require that you have Outlook or any other email software installed. Instead, it deals directly with your SMTP server – the machine actually responsible for routing your email over the Internet and delivering it to your recipients. Every major provider (such as Gmail, Yahoo and Office 365) supports SMTP mail and it is simply a matter of providing those settings to AlwaysUp so that it can send messages on your behalf.
Click the Configure… button to reveal the details:
The Configure Email Settings window that comes up requests quite a bit of information, but don’t be scared! Your systems administrator will be able to fill this in while balancing a bowl of water on his head and dancing the Macarena, but in case you are entering these values yourself here is what each field means:
- Address: The email address that will be displayed in the “From” field of the email messages sent by AlwaysUp.
- Name: The name that will be displayed in the “From” field of the email messages sent. This value is optional.
- Name/IP: The name (or IP address) of your mail server.
- Port: The numeric port on which the mail server is available. Note that the default is 25 for regular SMTP servers and 465 for servers using SSL – please specify one if these if in doubt.
- This server requires encryption: Check and make the appropriate selection if the mail server uses TLS, SSL or STARTTLS.
- This server requires authentication: Check if the server requires authentication, and select the authentication method. The choices are CRAM-MD5, AUTH-LOGIN, AUTH-PLAIN, and AUTH-NTLM. A login and a password will be required for all but AUTH-NTLM.
- Login: The user name/login for the mail server. Usually your full email address.
- Password: The password for your email account.
To send email with your Gmail account, please specify the following settings:
|Address:||Your full gmail address (firstname.lastname@example.org)|
|SMTP Server Name/IP:||smtp.gmail.com|
|Login:||Your full gmail address (email@example.com)|
|Password||Your gmail password|
So for someone named Mike Jones, whose Gmail address is firstname.lastname@example.org, the Configure Email window should look something like this:
This short, step-by-step video highlights the settings to enter for Gmail:
If you have an Office 365 mail account, please specify the settings described here:
|Address:||Your full Office 365 email address|
|SMTP Server Name/IP:||smtp.office365.com|
|Login:||Your full Office 365 email address|
|Password||Your Office 365 password|
So for Mike Jones, whose Office 365 email address is email@example.com, the Configure Email window should look something like this:
Using Another Email Service
This list documents SMTP settings for many other email providers.
So that’s it! Please be sure to get in touch if you have any trouble setting up automatic email from AlwaysUp.