Email Alerts

You can configure Syniti Data Replication to send email alerts when certain events occur during replication using one of the following three options:

Defining Email Alert Messages for a Specific Replication

This option provides a way to quickly define email alert messages for a selected replication using the Replication Properties dialog and the  the Replication Alert Properties dialog.

  1. In the Management Center Metadata Explorer, select a replication.

  2. From the right mouse button menu, choose Replication Properties.

  3. In the Replication Properties dialog, go to the Alerts tab.

  4. Click Add Alert to open the Replication Alert Properties dialog.

  5. Use the Alert Settings tab to choose which events to include in an email.

  6. Set the Alert Schedule if you want to limit the number of emails you receive.

  7. Go to the Message Layout tab.

  8. Type recipient email addresses, separated by semi-colons.

  9. Edit the email Title and Body text as needed.

  10. Optionally specify HTML format and/or Syniti DR log attachment.

  11. Click OK to create the alert and close the Replication Alert Properties dialog.

  12. Click OK to close the Replication Properties dialog.

  13. In the Management Center Metadata Explorer, select the server (usually local), then, from the right mouse button menu, select Data Replicator Options... to open the Data Replicator Options dialog.

    1. Go to the Mail tab.

    2. Enter the SMTP Server and Port Number for your email server.

    3. Enter an email address in the From field.

    4. Enter an email recipients in the To field.

    5. Set authentication and SSL encryption as needed for your email server.

    6. Click Test Email to be sure that the email information you have entered is correct.

  14. Stop and restart the Data Replicator to enable the email alert(s).

Defining Email Alert Messages for Replications and/or the Data Replicator

This option provides a way to quickly define email alert messages for the Data Replicator and/or all replications associated with the server using the Data Replicator Options dialog and the  the Server Alert Properties dialog.

  1. In the Management Center Metadata Explorer, select a server (usually local).

  2. From the right mouse button menu, choose Data Replicator Options.

  3. In the Data Replicator Options dialog, go to the Alerts tab.

  4. Click Add Alert, then Add Event Alert  to open the Server Alert Properties dialog.

  5. Use the Alert Settings tab to choose which events to include in an email.

  6. Set the Alert Schedule if you want to limit the number of emails you receive.

  7. Go to the Message Layout tab.

  8. Type recipient email addresses, separated by semi-colons.

  9. Edit the email Title and Body text as needed.

  10. Optionally specify HTML format and/or Syniti DR log attachment.

  11. Click OK to create the alert and close the Server Alert Properties dialog.

  12. In the Replication Agent Options dialog:

    1. Go to the Mail tab.

    2. Enter the SMTP Server and Port Number for your email server.

    3. Enter an email address in the From field.

    4. Enter an email recipients in the To field.

    5. Set authentication and SSL encryption as needed for your email server.

    6. Click Test Email to be sure that the email information you have entered is correct.

  13. Stop and restart the Data Replicator to enable the email alert(s).

You can also use the Alerts tab in the Data Replicator Options dialog to generate an email Activity Report:

  1. In the Data Replicator Options dialog, go to the Alerts tab.

  2. Click Add Alert, then Add Activity Report to open the Server Alert Properties - Activity Report dialog.

  3. Complete the dialog and set up your email server using the Mail tab.

 

Writing a Script Using the SendMail Function

This option allows you to build a fully customized email message using any of the replication events made available in Syniti Data Replication.

In the Management Center Metadata Explorer, select the server for which you want to set email alerts, then, from the right mouse button menu, select Data Replicator Options... to open the Data Replicator Options dialog.

  1. Go to the Mail tab.

  2. Enter the SMTP Server for your email account.

  3. Enter your email address in the From field.

  4. Enter the email recipients in the To field.

  5. Click Test Email to be sure that the email information you have entered is correct.

Use a SendMail function  from a script to provide an email alert as in the example below.  

SendMail ("Message from Syniti Data Replication",
"An error occurred that requires the intervention of the system administrator.")

Related Topics
Server Alert Properties Dialog
Replication Alert Properties Dialog
Data Replicator Options Dialog
Mail Tab

SendMail Function

Writing Visual Basic .NET Scripts