Mail plugin
Overview
QALIPSIS supports email messaging, to notify users of the status of their campaigns after it runs. This is achieved by configuring and enabling the QALIPSIS publisher for mail.
- Configuration namespace
-
report.export.mail - Applicable Step
-
Events
Configuration
Example configuration file
report:
export:
mail:
enabled: true
status: (1)
- SUCCESSFUL
- FAILED
authenticationMode: USERNAME_PASSWORD (2)
username: qalipsis-user
password: passpass
from: no-reply@qalipsis.io
to:
- ops-team@acme.io
- qa-team@acme.io
cc:
- managers@acme.io
junit: true (3)
ssl: false
starttls: true
host: smtp.gmail.com
port: 587
| 1 | Speicify that notifications are sent only when the campaign status is SUCCESSFUL or FAILED. |
| 2 | Enable SMTP authentication with username and password. |
| 3 | Enable the publisher to attach a ZIP of the JUnit report directory, if available. |
Configuration parameters
Available parameters are described in the table below.
| Parameter | Description |
|---|---|
|
Activates or deactivates mail report publishing. The publisher bean is created only when Example
|
|
Specifies the campaign report status(es) that trigger a notification. Example
|
|
SMTP authentication mode. Example
|
|
Username used when Example
|
|
Password used when Example
|
|
Hostname of the SMTP server. Example
|
|
Port of the SMTP server. Example
|
|
Sender address value used for the mail Example
|
|
Recipient addresses for the mail Example
|
|
Optional recipient addresses for the mail Example
|
|
Enables inclusion of a ZIP attachment containing the campaign JUnit report directory when it exists. Example
|
|
Enables SSL for SMTP transport ( Example
|
|
Enables STARTTLS for SMTP transport ( Example
|