This is not a coding issue, so I think "superuser" is the best place to post this.
I have been trying to send email using PHP for about 1 week now, and still no success. My story so far:
Trying to contact my hosting company about the SMTP server/port to put in my "php.ini" to send mails. They answer I have an unmanaged dedicated server, which means basically either I pay for their extra services or go --- myself.
Trying to use random PHP scripts I found on google, have no idea how they work but they always end up in Spam folders, and are very often even ignored by big mailing systems like hotmail (they don't even show up at all most of the times)
I tried the PHPMailer class that uses Google's SMTP server, but for some reason, google freeze and blocks access to any gmail account I make, once I type its password on the PHP script. I can't use that account anymore.
I have one option left now, hosting my own SMTP server ? But have no idea how and seems like a lot of work to do.. I probably need weeks to learn how that works befor deciding if it was a good idea or not.
Why is it so hard to send a simple "Hello World" email using PHP, for free ? What can you guys recommend me to solve this issue ? Should I try to host my own SMTP server ? (I have a static IP and a dot com domain)