possible fix for sending email and teh RCPT TO: address

This commit is contained in:
skeeter 2001-03-25 21:04:41 +00:00
parent 2eb29115b1
commit f6d0ed1eb6

View File

@ -226,7 +226,7 @@ class send {
$toaddr = explode(",",$to);
$numaddr = count($toaddr);
for ($i=0; $i<$numaddr; $i++) {
$src = $this->msg2socket($socket,"RCPT TO:<$toaddr[$i]>\r\n");
$src = $this->msg2socket($socket,'RCPT TO:<'.$toaddr[$i].">\r\n");
$rrc = $this->socket2msg($socket);
$this->to_res[$i][addr] = $toaddr[$i]; // for lateron validation
$this->to_res[$i][code] = $this->err["code"];