Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21077

Warn the user when testing outbound mail configuration if CIVICRM_MAIL_LOG is set

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.23
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      When the environment variable CIVICRM_MAIL_LOG is set CiviCRM won't try to send mail via any of the methods, but it will return success indicating that it did send mail.  Normally that's fine, except when you forget you've got that configured (or didn't realise - buildkit does it by default).  With this patch, when testing outbound email settings you will get a warning message if CIVICRM_MAIL_LOG is set so you don't scratch your head for ages wondering why email is not being sent out!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: