Author Topic: email setting not working  (Read 7688 times)

Offline farmvilla

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
email setting not working
« 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #1 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

Offline farmvilla

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: email setting not working
« Reply #2 on: December 07, 2016, 09:59:30 AM »
i dont get any errors.but the client still does not receive any email

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #3 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?

Offline farmvilla

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: email setting not working
« Reply #4 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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #5 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

Offline farmvilla

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: email setting not working
« Reply #6 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>"

Offline sunshine184

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: email setting not working
« Reply #7 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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #8 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #9 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

Offline AVS

  • Newbie
  • *
  • Posts: 43
  • Karma: +7/-0
    • View Profile
Re: email setting not working
« Reply #10 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
« Last Edit: November 10, 2017, 07:22:29 AM by AVS »

Offline starfish777

  • Newbie
  • *
  • Posts: 12
  • Karma: +4/-0
    • View Profile
Re: email setting not working
« Reply #11 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!

Offline AVS

  • Newbie
  • *
  • Posts: 43
  • Karma: +7/-0
    • View Profile
Re: email setting not working
« Reply #12 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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5226
  • Karma: +260/-2
    • View Profile
Re: email setting not working
« Reply #13 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?

Offline AVS

  • Newbie
  • *
  • Posts: 43
  • Karma: +7/-0
    • View Profile
Re: email setting not working
« Reply #14 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
 :)

« Last Edit: November 15, 2017, 10:03:13 PM by AVS »

 

Powered by SMFPacks Social Login Mod