Re: Send mail using external server
| From: | Juan Nin | Date: | Mon, 14 Jul 2003 19:25:45 +0000 |
| Subject: | Re: Send mail using external server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155095@lists.php.net to get a copy of this message | ||
From: "Maria Garcia Suarez" <mariagarciasuarez@yahoo.com>
> Hola Juan!
Hola! :)
(Hi!)
> Thanks for your help Juan :-)
de nada!!!
(you are welcome)
> What should I change in the script in order to make it
> work?
after the "RCPT TO" for the $to variable, you should check if $cc is
defined, if it is, then do the same for that variable, and then the same for
$bcc
also remember to remove the line I told before that adds the Bcc in the mail
headers...
but, IMHO, that script isn't well coded as you have already seen, and I also
don't like the way it's programmed, it's very rudimentary... I would use
phpmailer as someone told you before instead..
Besos!!!
(Kisses!)
Juan