From: "Maria Garcia Suarez" <[EMAIL PROTECTED]>
> The problem is that blind copies
> don't reach destination, mails in the To: field arrive
> well, mails in the BCC: desappear and never reach the
> mailbox (nor get back :-?
[...]
> talk2server("MAIL FROM: ".$from."\n");
> if (listen2server() == "250")
> talk2server("RCPT TO: ".$to."\n");
> if (listen2server() == "250")
> talk2server("DATA\n");
> if (listen2server() == "354")
> {
> $content = "Subject: $subject\r\n";
> $content .= "From: $from\r\n";
> $content .= "To: $to\r\n";
> if ($cc!="") {
> $content .= "Cc: $cc\r\n";
> }
> if ($bcc!="") {
> $content .= "Bcc: $bcc\r\n";
> }
the problem is that the script should send a "RCPT TO" for every recipient,
and it only send it for $to
so this script only works with the $to field, neither the $cc nor $bcc will
work...
moreover, the "$content .= "Bcc: $bcc\r\n";" line should not go!!!
if not you are putting the info about the BCC in the mail headers and
everyone will be able to see it..
regards,
Juan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php