After a week of trying to figure out why my mail was not working... here was the solution:
ssl://mail.(yourdomain).com
What I had was ssl://smtp.mail.(yourdomain).com,
Taking out the smtp was not only incredibly simple and missed, as I tried hundreds of combinations until finally seeing a reference on a somehwhat unrelated post; this was definitely required to be taken out with hostgator's hosting. Hope this helps others in the future.
My site is hosted on hostgator (brazil) too. Time ago, I got same problem as you. All was working well and suddenly the mails stopped to work. AND, spent so many time trying to solve this, since hostgator couldn't indentify the issue. After all, I realized that hostgator updated their PHP, which have changed the sendmail_path. Because of this, the PHP Mail wasn't working. So I just setted Mail as Protocol in OC settings and added the following line to my both php.ini file (in public_html and in admin):
And all the mail troubles has vanished.
Code: Select all
sendmail_path = /usr/sbin/sendmail -t -i;
Who is online
Users browsing this forum: No registered users and 6 guests