Document toolboxDocument toolbox

(2022.1) 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