Hello all,
I have been having a lot of trouble trying to set up a PHPMailer with Gmail. I am trying to have a textfeild in my websites where users could e-mail me directly from the website.
I tried different variations of tutorials online with no success. Any help will be greatly appreciated.
This is the error I am currently getting:
SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.
I am guessing, it may be because I don't have SSL enabled on my server but I am not sure, and if that is the problem, I don't know how to fix it.
I also read somewhere that you can find out a lot of useful information in phpinfo() and I have access to it, but I have yet to find anything to help me solve this problem.
Any help or suggestions, I will greatly appreciate.
Thank you!