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

Reply-to param not taken into account

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.3.3
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      in CRM/Util/Mail.php:
      ...

      • reply-to: reply-to header in the email
      • attachments: an associative array of
      • fullPath : complete pathname to the file
      • mime_type: mime type of the attachment
      • cleanName: the user friendly name of the attachmment
        *
      • @param array $params (by reference)
        *
      • @access public
      • @return boolean true if a mail was sent, else false
        */
        static function send( &$params ) {

      ...
      $headers['Reply-To'] = CRM_Utils_Array::value( 'replyTo', $params, $from );

      Is it supposed to be reply-to or replyTo ? One (at least) is wrong

      In general: what's the point of setting reply-to ? if it isn't in the param, should be left empty (mail clients default to the from anyway)

      X+

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: