• We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Enhance mail subsystem to log details about mail messages when eaither succesfully processed or failures during processing.

      The following table details the information required for successfully delivered mails.

      Property Description Why
      Sender email   Tracability
      Recipient email   Tracability
      Start time When the SMTP operation started  
      Duration of SMTP operation How long the message took to send to the SMTP server Debugging
      Time on mail queue How long the message was queued in BBS Debugging
      Current mail queue size Indication of mail queue depth Debugging
      SMTP Message ID For tractability throughout various network elements  Tracability

      In addition to the success log message details, when an error occurs the log should contain the exact response / response code from the SMTP server if possible.

       

            [BSERV-9502] Enhanced logging for Bitbucket Mail

            I would also add the HELLO line or whatever identifying info we can get from the SMTP server if it is easy to get.

            Michael Studman (Inactive) added a comment - I would also add the HELLO line or whatever identifying info we can get from the SMTP server if it is easy to get.

            Username is not always going to be available - our MailService does not restrict emailing to users. Plugins are free to use the service to send it to whoever they want.

            Michael Studman (Inactive) added a comment - Username is not always going to be available - our MailService does not restrict emailing to users. Plugins are free to use the service to send it to whoever they want.

            Please capture this info in a way that allows us to expose it via JMX and STP in the future.

            Michael Studman (Inactive) added a comment - - edited Please capture this info in a way that allows us to expose it via JMX and STP in the future.

              colivier Charles Olivier (Inactive)
              colivier Charles Olivier (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: