Header recommendations for mail function

I have opted to create my own mailing list system for my site instead of using an existing software (mainly so I can take advantage of the task crons I've already created that can send out the mail periodly).

Now, I have my system working as is. Since my site's mailing list is opt-in only (users HAVE to sign up on the site to get the newsletter) I want to do as much as possible to avoid having my newsletter wind up classified as spam.

So, I am looking for recommendations on pretty much anything I can do to the header info I send with the mail() function that increase my chances of not being classified as spam, even though the newsletter is purely informative... not a salescopy or advertisement.
Who is Participating?
MaybeItsJeremyAuthor Commented:
Thanks! PHPMailer will do. :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.