Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Email Configuration Error  (Read 6688 times)

Offline gkrish97

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Email Configuration Error
« on: December 16, 2018, 01:34:22 PM »
Hello Friends,
I am new to AbanteCart and I have tried setting up my smtp mail. The following error occurs.

AbanteCart core v.1.2.13 fsockopen(): unable to connect to mail.saghana.in:465 (Network is unreachable) in <b>/home/saghanai/shop.saghana.in/AbanteCart/core/lib/mail.php</b> on line <b>295</b>

I have contacted my host provider They say that allow_url_fopen was disabled due to security. How could I setup my Mail. Is there any alternative or to change code ? If so how?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Email Configuration Error
« Reply #1 on: December 17, 2018, 12:39:37 AM »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Email Configuration Error
« Reply #2 on: December 17, 2018, 02:47:59 AM »
AbanteCart core v.1.2.13 fsockopen(): unable to connect to mail.saghana.in:465 (Network is unreachable) in <b>/home/saghanai/shop.saghana.in/AbanteCart/core/lib/mail.php</b> on line <b>295</b>

I have contacted my host provider They say that allow_url_fopen was disabled due to security. How could I setup my Mail. Is there any alternative or to change code ? If so how?

hi. this issue not related to Abantecart code.
i checked connection via telnet and  port 465 closed for me too.
This is network issue. Please ask you mail hosting provider about that (mail.saghana.in)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline gkrish97

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Email Configuration Error
« Reply #3 on: December 17, 2018, 02:55:50 AM »
Dear Basara,
I have tried an gmail account also. I have contacted my hosting and they say that they cannot enable allow_url_fopen function. I have tried with gmail smtp. Herewith, I have enclosed the configuration settings and the error log. I have configured my gmail as a mail client for my servers mail. It is working properly. So I have asked them that if gmail can send a mail from my mail server why can't abantecart. Kindly please tell me where the problem arises what to ask to my hosting provider and  how to solve this if they didn't allow fsockopen().

RECENT ERROR LOG
App Error: AbanteCart core v.1.2.13 AMail Errors: Error: EHLO not accepted from server!
Error: AUTH LOGIN not accepted from server!
Error: Username not accepted from server!
Error: Password not accepted from server!
Error: MAIL FROM not accepted from server!
Error: RCPT TO not accepted from server!
Error: DATA not accepted from server!
Error: DATA not accepted from server!
Error: QUIT not accepted from server!

Configuration Settings
protocol:smtp
host:ssl://smtp.gmail.com
username:<username>@gmail.com
password:<password>
port:465
timeout:10

Offline gkrish97

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Email Configuration Error
« Reply #4 on: December 20, 2018, 03:16:48 PM »
I have contacted my host and issue has been resolved but gmail blocks my mail  as it says it as a spam mail. What to do?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Email Configuration Error
« Reply #5 on: December 21, 2018, 12:16:33 AM »

CTGO.co

  • Guest
Re: Email Configuration Error
« Reply #6 on: December 21, 2018, 02:30:28 AM »

 

Powered by SMFPacks Social Login Mod