Logo

How to send an email when PREDATOR detects an intrusion

PREDATOR can run custom commands when its state changes.
For example, you can configure PREDATOR to send an email when the Password Dialog or the Access Denied screen is displayed.

The following procedure explains how to send an email whenever PREDATOR displays the Password Dialog.

1. Open the Network options tab in the Preferences window

You must configure some settings in the "Email" frame.

Email is easy to configure if you have already an email client like Outlook or Thunderbird installed in your computer: simply open its configuration window and copy its settings into the corresponding PREDATOR's fields.
If you have no email client installed in your PC and are using a web-based email service like gmail or hotmail instead, you'll find the settings in your email provider's support site.

SMTP server

The name of the server that PREDATOR will use to send mail. If you can't find your SMTP server name in your installed email client, then look at your ISP or email provider's support site.

Email from

This is your own email address that will show in the "From" field of the message. Many SMTP servers require that you put your real address here.

Email to

This is the email address the message will be sent to.

Subject

The subject of the message, for example: "Predator Alarm"

Message

A single line of text that will copied into the message, for example: "Sent from my office"

Restart PREDATOR after changing any Network settings.

Secure Email

Some SMTP servers require user authentication via SSL or STARTTLS. This is usually the case with web-based email services like gmail.

Protocol

This parameter define the protocol used by PREDATOR to connect to the SMTP server.
There are 3 possible values in this dropdown list:

Port

The SSL/STARTTLS ports default to 465, but if your provider uses another port, enter it here. For example Gmail's STARTTLS uses port #587.
The SMTP protocol uses always port #25, so any port number defined here will be ignored.

User

Your username for sending SSL/STARTTLS email, usually it is your email address.

Password

Your email password.

Example of Email configuration for Gmail:

Gmail requires SSL, so we select the SSL protocol:

In this example, PREDATOR will send mail from the jsmith account at Gmail to the jsmith account at Verizon.

Additionally, Gmail requires that you allow deskop applications to send mail through their SMTP server. Follow their guidelines at "Change account access for less secure apps".

Restart PREDATOR after changing any Network settings.

2. Open the Alarm options tab in the Preferences window

You will configure some settings in the "Commands" frame:

Event

Select the "Password" event in the drop-down list

Action

Select the "Default" action in the drop-down list

Custom action

Select the "Email" action in the drop-down list

Close the Preferences window with the "OK" button in order to commit your changes.

3. Test your email configuration

Reopen the Alarm options tab in the Preferences window.

Select the "Password" event in the drop-down list

Click the "Run command" button and check the contents of the recipient's mailbox: you should find a new message there.

Next time PREDATOR will display the Password Dialog, it will send an email to the specified recipient.