From: P?l L?b. <pa...@us...> - 2001-03-09 14:03:32
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory usw-pr-cvs1:/tmp/cvs-serv27295 Modified Files: smtp.php Log Message: Removed extra <> around RCPT TO addresses that made some mail-servers fail. Index: smtp.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/smtp.php,v retrieving revision 1.101 retrieving revision 1.102 diff -u -w -r1.101 -r1.102 --- smtp.php 2001/03/09 13:51:16 1.101 +++ smtp.php 2001/03/09 14:05:18 1.102 @@ -365,12 +365,12 @@ errorCheck($tmp, $smtpConnection); } for ($i = 0; $i < count($cc); $i++) { - fputs($smtpConnection, "RCPT TO: <$cc[$i]>\r\n"); + fputs($smtpConnection, "RCPT TO: $cc[$i]\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); } for ($i = 0; $i < count($bcc); $i++) { - fputs($smtpConnection, "RCPT TO: <$bcc[$i]>\r\n"); + fputs($smtpConnection, "RCPT TO: $bcc[$i]\r\n"); $tmp = fgets($smtpConnection, 1024); errorCheck($tmp, $smtpConnection); } |