Hello,

On 07/14/2003 11:27 AM, Maria Garcia Suarez wrote:
Hi there!

I'm developing a program that has a kind of mail
client from where users can send mails and get a blind
copy in their e-mail boxes. The program uses mail() in
those servers having a SMTP installed in the very same
server. I would like to let people send mails even if
the server is not able to handle them.

To do that I've googled around and found the following
script (see below). 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 :-?

Does anyone know what's going wrong? Thanks.

That script has lots of problems from wrong line endings to the inability to handle multiline SMTP responses.


You may want to use this SMTP class instead:

http://www.phpclasses.org/smtpclass

Actually, if you want to use a direct replacement for the mail() function you may want to try this other class in conjunction as it comes with a wrapper function named smtp_mail() that emulates the mail() function but lets you send it via SMTP directly.

http://www.phpclasses.org/mimemessage


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to