I have a PHP website hosted on Godaddy cpannel. I am trying to send email using php mailer and gmail smtp. When i try to send email it returns me an error message Connection refused. I have tried to find any possible way to send email using gmail smtp but still not found any solution.
I was using Godaddy smtp but it is to slow, and some time take much time to send email. Thats why i want to switch to gmail.