email goes to spam (gmail), PHP
i managed to make sendmail work and i can send email out with mail() in PHP. however that email always goes to spam. my domain is new, has never been used before. i read that i have to create reverse DNS (i really have no idea how to do it) to avoid emails to be delivered to spam folder. does anyone know what exactly do i have to do to see email sent from my php script to appear in INBOX (gmail)?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.