Re: Send mail using external server

From: Date: Mon, 14 Jul 2003 19:38:54 +0000
Subject: Re: Send mail using external server
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-155100@lists.php.net to get a copy of this message
From: "Curt Zirzow" <curt@zirzow.dyndns.org> > You must send the rctp to's bfore you start sending the data. To be > a more stable smtp client there should be more sanity checking before > blindy doing this: > > if ($cc != "") { > $CC = split(',', $cc); > foreach ($CC as $ccemal) { > talk2server("RCPT TO: $ccemail\n"); > } > } > > Then repeat for BCC's good!! you also included the code for her :) > Be sure to remove the bcc header, it wont be very blind if the > recipients can see who was blind carbon copied. I'm really surprised at this script... I can't believe someone posted that script for being downloaded while it has several things that are completely wrong!!! Specially the including the BCC in the header's in a way that anyone can see it!!! obviously this programmer did not have many clues on how SMTP works, and didn't waste many of his time investigating it... it really surprises me.. Juan

« previous php.general (#155100) next »