Notification system¶
AyaNova has a built in notification system that alerts Users and Customers to events of interest that occur in AyaNova.
There are two methods of delivering notifications:
- In the AyaNova application in the Notifications form
- Email via SMTP server which includes delivery to regular email programs as well as to devices via SMS / MMS gateways provided by Cellular providers.
The in application delivery does not require any configuration however the SMTP delivery method requires configuration of the SMTP server in the System operations Notifications settings form.
Authorization Roles required¶
Many roles can select this object on other records where appropriate. Editing or viewing this object in detail is only available to Users with the following roles:
Full access
- System operations
Read only access
- Business administration
- Business administration - restricted
- System operations - restricted
How to access notification settings¶
Notification settings are accessed in the following ways:
- From the
Server operationsnavigation drawerNotification settingsitem
Notification settings form¶
SMTP notification active¶
This check box switches on or off the entire SMTP notification system at the server.
SMTP server address¶
The address of the SMTP server to be used for outgoing notification purposes. For example mail.example.com. AyaNova does not receive email, only send it.
SMTP server account¶
This is the email account used to send notification messages. If possible we recommend a dedicated email address specifically for sending notification emails only.
Typically this is an email address, for example noreply@example.com but some mail servers may have alternate requirements for login credentials.
Leave it blank if the mail server takes mail without a sign-in, usually because it allows your AyaNova server's IP address instead, as an in-house mail relay or a Microsoft 365 connector does. AyaNova then doesn't sign in, and the SMTP server password isn't used.
Sending through a Microsoft 365 mailbox? See Sending notifications through Microsoft 365: Microsoft is switching off password sign-in for sending email at the end of December 2026.
SMTP server password¶
The password the SMTP server requires to send email using the SMTP server account address. It isn't used when the SMTP server account is blank. Once saved, the password is never shown in this form: it shows ******** when a password is set. To change it, type the new password and save. Leaving ******** in place keeps the saved password.
We recommend a dedicated email account used only for sending notifications.
SMTP connection security¶
Here is configured the type of email network transport security to be used with the SMTP server.
The choices are:
- SSL \ TLS: the connection is encrypted from the start. Use it when the mail server's port is
465. - StartTLS: the connection starts unencrypted and switches to encryption before anything is sent. Use it when the mail server's port is
587, as for Microsoft 365 and Gmail. If the mail server can't switch to encryption, AyaNova doesn't send the message. On port465AyaNova uses SSL \ TLS. - None: not recommended. AyaNova switches to encryption only if the mail server offers it; otherwise messages are sent unencrypted and could be intercepted and read.
Your mail provider's settings say which port and security to use.
AyaNova checks the mail server's security certificate when it connects. See SMTP certificate check if the test message reports that the certificate could not be validated.
SMTP server port¶
This is the port that must match the SMTP server's mail port. Most modern mail servers use port 587 which is the current recommended standard port for encrypted mail transmission.
SMTP notify from address¶
This is the address that will be set as the "from" address and should match the SMTP server account in order to avoid potential spam filtering.
Email address format, for example noreply@example.com
AyaNova server URL¶
The server URL setting is the web address location of the AyaNova server web application (where users log in to AyaNova) and can not be determined automatically by the AyaNova server itself.
This setting is a very important part of the notification system as it's used by AyaNova to create links sent in notification email messages to allow Users to open the originating AyaNova record or report by clicking on the link in the notification message.
This setting should be the same address used by Users to connect to AyaNova from the AyaNova web application minus any page path.
For example if AyaNova login page is accessed by users at https://ayanova.example.com/login you would enter https://ayanova.example.com as the server URL here.
Or, for example if your AyaNova login page is accessed by users only internally on your local area network at http://:192.168.1.22:8964/login you would enter http://:192.168.1.22:8964 as the server URL here.
Allow email to any address from the API and report scripts¶
Report scripts and programs using the AyaNova API can send an email through the notify/direct-smtp API route, for example to email a customer when a work order report is rendered.
When this setting is off, that route only sends to an email address saved on a Customer, Head Office, Vendor or User record. When it's on, it also sends to any other email address it's given, including CC and BCC copies (the route's optional cc and bcc, each one or more addresses separated by ; or ,).
Turn it on only if your report scripts or API programs need to send to addresses that aren't saved on a record. Anyone who can sign in to AyaNova as a staff User could then send email from your SMTP server account to any address.
The Send email menu option on the Customer, Head Office, Vendor and User forms works either way: it sends to the address saved on the record, so save the record first after changing its email address.
This setting is off on new installations. Databases upgraded from AyaNova 8.3.1 or older have it on, so existing report scripts keep working.
Menu options¶
In addition to the common form menu options the Notifications settings form also has these options:
Send test message¶
This opens a pop up dialog where you can enter an email address to receive a test notification message. Use this during configuration to ensure the system is working correctly. If there is an error it will be displayed at the top of the form in an error alert box.
Notify event delivery queue¶
This menu option will open a form displaying a table of all SMTP notification events awaiting delivery.
AyaNova has a queue system that will periodically attempt to deliver items found in this queue.
Normally this would be empty or showing very recent items that are awaiting delivery. You can also delete an item to remove it permanently from being attempted to deliver. These are only pending items, delivered (or failed delivery) items are logged separately in the server job log and removed from the queue automatically.
Operations specific notification events¶
Operations users should subscribe to several key notifications related directly to system operations:
- NotifyHealthCheck - a recurring daily notification system "ping" sent out between 8am and 10am once every 24 hours minimum every day which is a verification that the notification system is up and running. If the server is rebooted this will be sent shortly after the server reboot even if this notification was already sent within the last 24 hours.
- BackupStatus - results of last backup operation
- ServerOperationsProblem - sent whenever the server encounters any unusual condition or error that could be critical for the continuing operation of the AyaNova server
These are in addition to the normal operations methods of monitoring the health and status of the server such as server logs, metrics, job queue etc.