fixed a bug in smtp
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 17:27:06 +0000 (17:27 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 17:27:06 +0000 (17:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@125 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/smtp.php

index 4c28318..a15f4af 100644 (file)
 
       fputs($smtpConnection, "Subject: $subject\n"); // Subject
       fputs($smtpConnection, "From: $from\n"); // Subject
-      fputs($smtpConnection, "To: <$to_list>\n");    // Who it's TO
+      fputs($smtpConnection, "To: $to_list\n");    // Who it's TO
 
       if ($cc_list) {
-         fputs($smtpConnection, "Cc: <$cc_list>\n"); // Who the CCs are
+         fputs($smtpConnection, "Cc: $cc_list\n"); // Who the CCs are
       }
       fputs($smtpConnection, "X-Mailer: SquirrelMail (version $version)\n"); // Identify SquirrelMail
       fputs($smtpConnection, "MIME-Version: 1.0\n");