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:
- Open the Tasks console (see Tasks), and click the New Task button
OR
In the XpoLog Manager homepage, under More Actions, click Add Task. - In the page that opens, select the Email option, and then click Continue.
The Email Task page opens. - In Name, type the name of the new task.
- In Description, type a description of the new task; optional.
- Open the Details tab.
- In From, type the account from which the email will be sent.
- In To, type the account to which the email will be sent.
- In Subject, type the subject of the email.
- In Body, type the body of the email; optional.
- 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. - To automate task execution, open the Schedule tab, and configure the scheduler as described in Scheduling a Task.
- Click Save.
The Email task is saved.
Â