Adding an Email Task

An Email task sends an email alert to preconfigured addresses. For example, you can configure a Keep Alive email task that sends an email every hour to show that XpoLog is up and running. You can automate task execution by configuring a scheduler on it. XpoLog then runs the task based on the scheduler configuration.

You can send a log as an attachment to the email alert, in either of the following export formats:

  • Together with its configuration, thus enabling future import into XpoLog

  • Transformed into an XML, CSV, or Tab delimited file. 

A common use case of Email Task is testing the mail settings of XpoLog, the steps of adding an email test are the same as the steps below, the only difference there is no need of step #11, just Save and Execute the task afterwards and check if an email was received properly. In case an email was not received, an indication of error may be found at XpoLog system log.

Note:  Ensure that your SMTP server is configured in XpoLog before creating Email Tasks and sending emails (see Settings).

To add an email task:
  1. Open the Tasks console (see Tasks), and click the New Task button
    OR
    In the XpoLog Manager homepage, under More Actions, click Add Task.

  2. In the page that opens, select the Email option, and then click Continue.
    The Email Task page opens.

  3. In Name, type the name of the new task.

  4. In Description, type a description of the new task; optional.

  5. Open the Details tab.

  6. In From, type the account from which the email will be sent.

  7. In To, type the account to which the email will be sent.

  8. In Subject, type the subject of the email.

  9. In Body, type the body of the email; optional.

  10. In Data Export Format, select one of the following for the format of the email attachment:
    Send an email alert without any data attached.
    Attach the log together with its configuration, to enable future import.
    Transform the data and attach to mail as XML, CSV or TAB Delimited.

  11. To automate task execution, open the Schedule tab, and configure the scheduler as described in Scheduling a Task.

  12. Click Save.
    The Email task is saved.



Â