AbanteCart Community
eCommerce construction => Installation and Configuration => Configuration => Topic started by: gkrish97 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?
-
Try gmail or use server's mail function https://abantecart.atlassian.net/wiki/spaces/AD/pages/7372837/Mail+Settings
-
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)
-
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
-
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?
-
Hello.
There are many trick to avoid spam. First add DKIM keys to your domain
https://startupsventurecapital.com/why-your-marketing-email-will-land-in-my-spam-folder-the-non-marketing-guide-dkim-spf-dmarc-43f91f9c6940
-
Hello.
There are many trick to avoid spam. First add DKIM keys to your domain
https://startupsventurecapital.com/why-your-marketing-email-will-land-in-my-spam-folder-the-non-marketing-guide-dkim-spf-dmarc-43f91f9c6940
hi,
where is that should be added and how ? thanks