Since the first time I started to send email using this mail() function, I always wonder what exactly the headers that I need to include so that the email that I sent is valid (either HTML or Plain Text)?
What I always do is just one line of code like the one shown below:
mail($to,$subject,$message,"FROM: webmaster@someorg.org");
Can anybody help me out of this confusion? Probably, there are some good resources out there that I can read bout this?
Just out of curiosity, do you think doing this:
mail("user@domain.com,user1@domain1.com,user2@domain2.com",$subject,$message,"FROM: Webmaster");
will be more efficient as compared to this:
mail("user@domain.com",$subject,$message,"FROM: Webmaster");
mail("user1@domain1.com",$subject,$message,"FROM: Webmaster");
mail("user2@domain2.com",$subject,$message,"FROM: Webmaster");
Thanks.
regards,
scoppc