Hello.
Can you provide an example of what 'ordinary email' work for you and the one not work. What is your AbanteCart version?
Any errors in the server's log?
Hi,
I am using AbanteCart V1.2.11
Just now done some changes in Email settings, DNS Management settings in host server etc... I am using all email addresses with my domain name, though Google's G Suite free edition, (formerly GoogleApps and I am one of those who has free edition registered several years back). I made some settings in the host that made it work.
Now SMTP for alert Mail settings works perfectly. Email perfectly arrives at inbox when someone orders product. Also customers receive order details sent from "mydomain.com". It might be useful to someone looking for solution for similar problem I had. The following is what I did.
1.Login in to account where the domain is hosted (not Google Admin console).
2.Locate the page for updating domain’s DNS records.
This page might be called something like DNS management, Name server management, or Advanced settings.
3. Now add SPF record in DNS management page.
To do so, click add SPF record in Create a TXT record tab, containing this text: v=spf1 include:_spf.google.com ~all
and wait for few hours to 48 hours to get this new DNS settings to get propagated in web throughout internet. New SPF record can take up to 48 hours to go into effect, but sometimes happens more quickly.
4. Now login to google email settings -->Forwarding POP/IMAP and check if POP is enabled and also IMAP is enabled. Not sure if it is absolutely necessary, but for me it worked.
5. In the Abantecart admin panel, in the Mail settings, SMTP HOST is set to: ssl://smtp.gmail.com ( for https domains otherwise just smtp.gmail.com)
( this is for custom domain name also. Note that, ssl://smtp.mydomain.com is throwing error. But '@mydomain' email address works through google gmail smtp itself as we are using G SUITE)
6. Port is set to:465
7. Ensure that email address in the store settings and Mail settings for alert is same. If not, sometimes google servers might conclude it as spoofing and filter it and never deliver emails. For some people it might work with different Email IDs but the domain must be same as Abantecart installation and in both store settings and Mail alert settings. One can use xxxxx @ mydomain.com in store settings as well as Mail alert settings.
Thanks