The Core Technologies Blog

Our Software // Windows Services // 24×7 Operation


How to Setup Email from AlwaysUp


Email from AlwaysUp

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:


AlwaysUp Email Tab

Enter the following:

  1. The email address to notify. To send to multiple addresses, just separate each one with a comma (,).
  2. 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.
  3. 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).

Server/SMTP Settings

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:


Configure Server Settings

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:


Configure Server Settings

  • 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.

 

Gmail
How to use your Gmail Account

To send email with your Gmail account, please specify the following settings:

Address:Your full gmail address (your-user-name@gmail.com)
Name:Your name
SMTP Server Name/IP:smtp.gmail.com
Port:465
Encryption:SSL/TLS
Authentication:AUTH-LOGIN
Login:Your full gmail address (your-user-name@gmail.com)
PasswordYour gmail password

 

So for someone named Mike Jones, whose Gmail address is jones1985@gmail.com, the Configure Email window should look something like this:


Using Gmail in AlwaysUp

 

Microsoft Office 365
How to use your Microsoft Office 365 Account

If you have an Office 365 mail account, please specify the following settings:

Address:Your full Office 365 email address
Name:Your name
SMTP Server Name/IP:pod51010.outlook.com
Port:587
Encryption:STARTTLS
Authentication:AUTH-LOGIN
Login:Your full Office 365 email address
PasswordYour Office 365 password

 

So for Mike Jones, whose Office 365 email address is mike.jones@somecompany.com, the Configure Email window should look something like this:


Using Office 365 in AlwaysUp

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.

Posted in AlwaysUp | Tagged , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *