#1 email is only being sent to a few recipients.
I need to implement
$smtp = ‘localhost’;
Somewhere, but I keep getting parse errors?
Don't use fancy ms-word quotes, use the normal single quotes.
php mail() only uses the smtp config if you are sending on a windows
machine.
http://php.net/mail
SMTP - Used under Windows only: host name or IP address of the SMTP
server PHP should use for mail sent with the mail() function.
If you want to do smtp authentication yourself, I suggest you get
phpmailer and look at how it handles it (read the code and try to
understand the process).
$headers = 'From: '.$fromname.' <'.$fromaddress.'>'.$eol;
// $headers = 'bcc: '[EMAIL PROTECTED]';
This should be:
$headers .= 'bcc: [EMAIL PROTECTED]';
otherwise this line is overwriting the 'from' line (notice the . before
the = sign).
In future don't post real email addresses because spam-bots get the
archives from websites and use them, so kathyandrews is going to get a
ton of spam because you've sent her email address around.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php