Menu

#383 full_name preference not quoted in email send

Reproducible
closed-fixed
nobody
Other (69)
5
2010-04-23
2010-03-04
Sean Skogen
No

The full_name preference is not quoted in the Envelope when sending. This only appears to be a problem when there are special characters, the most notable being a comma. It is not unusual for someone to use "lastname, firstname" for a full_name preference.

Fix in utils/config_check.php

// Append name if known
// if(!empty($user_prefs->full_name))
// $from_address = $user_prefs->full_name . ' <' . $from_address . '>';
if(!empty($user_prefs->full_name))
$from_address = '"' . $user_prefs->full_name . '"' . ' <' . $from_address . '>';

Discussion

  • Tim Gerundt

    Tim Gerundt - 2010-04-23

    Thank you for the fix! It will included in the next NOCC version!

    Committed to SVN (In Revision 2174)...

     
  • Tim Gerundt

    Tim Gerundt - 2010-04-23
    • status: open --> closed-fixed
     

Log in to post a comment.