Email

The Axon Ivy Engine sends emails for different purposes:

  • In-process mails. Sent within a process via the mail step.

  • New task assignments and daily task summaries to users.

  • License expiration reminders to the administrators.

For the Axon Ivy Engine to be able to send emails, you have to configure an email server in ivy.yaml:

 1# sample ivy.yaml that configures an email server:
 2EMail:
 3  Server:
 4    Host: mail.axonivy.com
 5    Port: 25
 6    MailAddress: noreply@axonivy.com
 7    User: someuser
 8    Password: somepassword
 9
10  DailyTaskSummary:
11    # Time of day when the task summary mails will be sent.
12    TriggerTime: "02:00"

You can configure task email notification settings for new task assignments and daily task summaries at security system level in ivy.yaml:

1# ivy.yaml located in e.g. <configuration>/ivy.yaml
2SecuritySystems:
3  default:
4    EMailNotification:  
5      DailySummaryOn: monday, tuesday, wednesday, thursday, friday
6      OnNewTasks: true

Users can customize their notification settings in a workflow UI like the Portal. The content of the task email notifications can be customized by providing custom Ivy email processes.

If you need to send emails with OAuth2 on office365.com, you can follow this guide here: https://community.axonivy.com/d/968-send-emails-via-smtp-using-oauth2-authentication-on-office365com