Index: smtp.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/smtp/smtp.module,v
retrieving revision 1.17.2.22
diff -u -p -r1.17.2.22 smtp.module
--- smtp.module	30 Sep 2010 16:21:37 -0000	1.17.2.22
+++ smtp.module	19 Oct 2010 20:37:18 -0000
@@ -338,7 +338,7 @@ function smtp_drupal_mail_wrapper($messa
   if (preg_match('/^"?.*"?\s*<.*>$/', $from)) {
     // . == Matches any single character except line break characters \r and \n.
     // * == Repeats the previous item zero or more times.
-    $from_name = preg_replace('/"?([^("\s)]*)"?.*$/', '$1', $from); // It gives: Name
+    $from_name =  array_shift(explode('<', $from)); // It gives: Name
     $from      = preg_replace("/(.*)\<(.*)\>/i", '$2', $from); // It gives: name@domain.tld
   }
   elseif (!valid_email_address($from)) {
