Greetings.
I'm writing a simple code that enables a user of my system to send multiple e-mails.
I'd like to make this possible without using the "To:" - using only Bcc's in the header - variable of mail(), so each user can't see the other users email adresses.
There are 2 problems:
1 - I can't do it without filling $to with something 2 - I don't want anybody else to receive the e-mail
Is this possible?
Thanks in advance,
If you are forced to put something in $To then put the senders email address.
Thanks for your reply and excuse me, please, I was making a mistake.
In fact I can send an empty string to the "To:" field, there is nothing that prevent that.
I've just corrected my code and it works.
Thanks again,