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

Extend mail logging to allow mail to be logged AND send

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.11, 4.5
    • Component/s: None
    • Labels:
      None

      Description

      We are hitting the situation where we need a copy of the mails going out for debugging purposes. When 'CIVICRM_MAIL_LOG' is defined the mail is logged but does not go out. We want the mail to be logged and still go out.

      Dave suggested the CIVICRM_MAIL_LOG could be either TRUE of a value like 'both' - however, this constant already has handling for it to be set to either TRUE or a path.

      At this stage I am simply defining another constant - 'CIVICRM_MAIL_LOG_AND SEND' - but I suspect that to go into core we'd need to look at making it a setting and presumably making that setting configurable via the UI - which takes it beyond what we want to put into it - so I will provide a link to our commit as a record of how to deal with that side of it & set this to 'future version'

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: