PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
it depends on where you are passing the $to variable.. if you are passing it outside the headers of the mail, then yes, it should fail. Only the email address being sent to is supposed to be in the "to" argument of mail.. last I checked anyways..