---
id: AA-00515
title: "Sending Email from SiteAudit"
url: http://netaphor.com/kb/AA-00515/sending-email-from-siteaudit
product: "SiteAudit OnSite"
type: "How-to & configuration"
updated: 2014-08-12
access: public
---


# Sending Email from SiteAudit

This document explains how to send email from Netaphor SiteAudit™.

SiteAudit can send notifications and reports by email. For this to work, an SMTP server must be accessible from the computer where the Netaphor SiteAudit Monitor service runs.

![](http://netaphor.com/kb/media/AA-00515/email.jpg)

The SMTP server can be internal to your organization or an external service like Gmail, Yahoo Mail or Hotmail. For help understanding how to use an external mail service, the examples in this article use Gmail. Users can create or use an existing Gmail account and follow the examples below.

## Mail Server Configuration and Test

1. On the **Setup** menu, click **Mail Server Configuration**.
2. For **Outgoing mail server (SMTP)**, enter the DNS name or IP address of the SMTP server.
3. For **Port**, enter the SMTP port number.
4. (This is port 25 by default, but may differ. For example, Gmail uses port 587 for secure communication).
5. Select the **Use encryption (SSL)** and **Use authentication** check boxes if required by the SMTP server, and enter the email account, user name and password.*
6. *

![](http://netaphor.com/kb/media/AA-00515/smtp-gmail.png)

1. * ***Example:** Using Gmail to send email over a secure connection.
2. **Note:** Depending on the environment and the notification configuration, it is possible to send many emails quickly. Therefore, you should take precautions to ensure that the SMTP server does not block these emails.
3. Enter a **Deliver to** email address and a **Sender's email address**.** Test message** and **Display name** are optional.

![](http://netaphor.com/kb/media/AA-00515/testmail.png)

1. Click **Send test message**.
2. Confirm that the "Deliver to" email account receives the message.
3. If this test fails, there is a problem with the SMTP information (for example, server name or port) that has been entered. Correct the information and test again. This test must succeed for SiteAudit to send email.
4. Click** OK**.

## Confirming that SiteAudit Monitor Service Can Send Email

After you test and verify the SMTP server configuration, it is important to test whether the Netaphor SiteAudit Monitor service can send email.

1. On the **Tools** menu, click **Start Monitoring**.
2. On the Setup menu, click **Mail Server Configuration**.
3. Click **Send test message from monitoring service**. If this test succeeds, SiteAudit can send email as long as the SMTP server is working and is accessible from the computer where the monitoring service runs.

![](http://netaphor.com/kb/media/AA-00515/smtpconfiguration.png)

### If "Send test message" Succeeds but "Send test message from monitoring service" Fails

If the test succeeds when using **Send test message** but fails when using **Send test message from monitoring service**, the credentials used for the SiteAudit monitoring service are not permitted to send email through the SMTP server. Access must be given to this account.

By default, the monitoring service logs on using the Local System account. If it is configured to use another account (see **This account** in the image below), the credentials entered must be allowed to send email on the SMTP server.

![](http://netaphor.com/kb/media/AA-00515/monitorservice.png)

If **Use integrated security** is selected for database access (as shown in the **image below**) SiteAudit uses the credentials of the user who is logged on to Windows. Make sure this user is authorized to send email from the SMTP server.

![](http://netaphor.com/kb/media/AA-00515/dbconfig.png)

If **Use integrated security** is **not** selected, and therefore SQL authentication is used, the SQL credentials must be allowed to send email through the SMTP server.
