Why build the From address ourself when the library can do it for us?
Patch below fixes this.

--- mail.module~ 2005-06-22 15:12:09.000000000 +0100
+++ mail.module 2005-09-23 17:01:21.915960608 +0100
@@ -284,7 +284,7 @@
function mail_send($mail) {
require_once('activeMailLib.php');
$email = new activeMailLib($mail->mail_format);
- $email->From($mail->from_name . ' <' . $mail->from_address . '>');
+ $email->From($mail->from_address , $mail->from_name);
$email->To($mail->to);
$email->Subject($mail->title);
$email->Message($mail->message, $mail->mail_character_set, $mail->mail_encode);

Comments

zerolab’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)