AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: farmvilla on December 06, 2016, 04:51:55 PM

Title: email setting not working
Post by: farmvilla on December 06, 2016, 04:51:55 PM
no matter what setting for email i use it doesnt send email to new customers especially those that just signup. i really need help on this
Title: Re: email setting not working
Post by: Basara on December 07, 2016, 04:19:15 AM
Hello.

Most of the issues with Mail is related to server/hosting issues. Check AbanteCart and server error logs after emails sent
Title: Re: email setting not working
Post by: farmvilla on December 07, 2016, 09:59:30 AM
i dont get any errors.but the client still does not receive any email
Title: Re: email setting not working
Post by: Basara on December 08, 2016, 01:41:34 AM
All your customers cannot receive emails or specific only?
What is your MAIL settings SMTP or php MAIL?
Title: Re: email setting not working
Post by: farmvilla on December 08, 2016, 03:44:33 AM
all are not receiving email not even yahoomail and gmail. am using SMTP and i got the settings from my host,the php mail have been blocked so SMTP is my online option.
Title: Re: email setting not working
Post by: Basara on December 08, 2016, 03:49:46 AM
When you use SMTP important to set all params same with your mail provider docs
For example see gmail
http://docs.abantecart.com/pages/quickstart/email_settings.html
Title: Re: email setting not working
Post by: farmvilla on December 08, 2016, 04:03:57 AM
this is the error i got when i sued my gmail account   "warning: AbanteCart core v.1.2.8 fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in <b>/home/farmvill/public_html/onlinestore/core/lib/mail.php</b> on line <b>283</b>"
Title: Re: email setting not working
Post by: sunshine184 on November 04, 2017, 03:27:50 PM
Hi, I have same issue, Email is not working.

When I test my Contact Us form, got msg
-----------
There were some errors in the process.
Error: Network is unreachable (101)
-------
Can you please help.

Thanks.
Title: Re: email setting not working
Post by: Basara on November 06, 2017, 12:54:57 AM
this is the error i got when i sued my gmail account   "warning: AbanteCart core v.1.2.8 fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in <b>/home/farmvill/public_html/onlinestore/core/lib/mail.php</b> on line <b>283</b>"

Hello. Contact your hosting support to help you resolve your server connection issue
Title: Re: email setting not working
Post by: Basara on November 06, 2017, 12:56:01 AM
Hi, I have same issue, Email is not working.

When I test my Contact Us form, got msg
-----------
There were some errors in the process.
Error: Network is unreachable (101)
-------
Can you please help.

Thanks.

If you use SMTP make sure your port is correct
Title: Re: email setting not working
Post by: AVS on November 10, 2017, 07:18:58 AM
Even I am getting error when SMTP is set. Ordinary mail works well. Email received when new order is made. If SMTP enabled, email is not received and connection timeout error show in the Error log. I have tried all possible smtp settings including changing ports like 25, 2525, 465 etc... Also used ssl://mail.example.com, ssl://smtp.gmail.com   or just localhost....
 Nothing works. Coming into this forum, I found I am not alone facing this issue. Can someone throw light on this?
Thanks
Title: Re: email setting not working
Post by: starfish777 on November 11, 2017, 03:40:32 PM
I've been researching this issue as well. I am having the same problem. I want to use SMTP to have all correspondance email come to the gmail address and want the AbanteCart emails that are pushed from SALES--> SEND MAIL to show that they are from the gmail account as well. Here are a few of articles to shed some light on the issue.  BEWARE: Godaddy hosting has restrictions on using any other SMTP than their own, even though some support phone reps may not be aware of it.  I am trying to find a way to make this work and am still looking into it. Please also let me know if you have any luck with these:

h t t p s : //github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

h t t p s : //noorsplugin.com/how-to-resolve-smtp-error-failed-to-connect-to-server-connection-refused-111-network-is-unreachable-101/

h t t p s : //tjkelly.com/blog/gmail-godaddy-email-forwarding/

Good luck!
Title: Re: email setting not working
Post by: AVS on November 13, 2017, 12:23:08 AM
Nice links starfish777. But needed more precise fix for SMTP  to work in all situations including Email working through G Suite also.
Title: Re: email setting not working
Post by: Basara on November 13, 2017, 12:47:34 AM
Even I am getting error when SMTP is set. Ordinary mail works well. Email received when new order is made. If SMTP enabled, email is not received and connection timeout error show in the Error log. I have tried all possible smtp settings including changing ports like 25, 2525, 465 etc... Also used ssl://mail.example.com, ssl://smtp.gmail.com   or just localhost....
 Nothing works. Coming into this forum, I found I am not alone facing this issue. Can someone throw light on this?
Thanks

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?
Title: Re: email setting not working
Post by: AVS on November 15, 2017, 05:54:59 AM
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
 :)

Title: Re: email setting not working
Post by: Basara on November 15, 2017, 06:20:15 AM
Thank you, AVS
great post
Title: Re: email setting not working
Post by: Julianne37 on November 11, 2021, 06:56:49 PM
This is for anyone who is using GoDaddy and 365 office email for SMPT mail setup.
You need to set the mail up with LOCALHOST as the SMTP host and provide the username which will be the office 365 email you set up through GoDaddy. For the PORT you need to put 25.

Note: you DONT need a password

Here is their documentation: ae.godaddy.com/help/send-form-mail-using-an-smtp-relay-server-953
Title: Re: email setting not working
Post by: vajra on December 22, 2021, 10:23:27 PM
AVS or anyone? i would like to pay someone to help me configure my email / smpt. please contact me thanks! leeann@sacredorigin.com thanks. I have G suite but even gmail smpt is not working.