Published Nov 22, 2024
(2024.2) Disabling All Email
INI Configuration
Email may be completely disabled (sending and receiving) by setting the DISABLE_EMAIL constant to true.
The email form fields may be hidden and all email redirected to in app messages by setting SEND_EMAIL to false
SEND_EMAIL is true by default
DISABLE_EMAIL is false by default
The constants can be set for each individual environment in the INI file usually located at /var/www/pcr360/configs/pcr360.ini
The File Transport Type for Outbound Emails ignores the DISABLE_EMAIL value, and always creates the File when it is enabled.
; < 2020.4
; Disable All Email and UI for Sending Email
constants.SEND_EMAIL = false
; > 2020.4.6
; Disable sending email, but keep the UI so the environments look the same.
constants.SEND_EMAIL = true
constants.DISABLE_EMAIL = true
; Disable sending email and hide the email UI.
constants.SEND_EMAIL = false
constants.DISABLE_EMAIL = true
Related content
(2024.2) Configuring Email
(2024.2) Configuring Email
More like this
(2024.2) Blocked Emails
(2024.2) Blocked Emails
More like this
(2024.2) Receiving Email (Service Desk Emails)
(2024.2) Receiving Email (Service Desk Emails)
More like this
(2024.2) Best Practices for Emails and Inquiries
(2024.2) Best Practices for Emails and Inquiries
More like this
(2024.1) Workers/Contacts - Emails Tab
(2024.1) Workers/Contacts - Emails Tab
More like this