Hola Juan! Thanks for your help Juan :-)
A simple but must-be-asked question... --- Juan Nin <[EMAIL PROTECTED]> wrote: > 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.. What should I change in the script in order to make it work? Thanks a lot for your help. Besos, Maria __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php