Page 1 of 1

1and1 hosting and opencart contact form :(

Posted: Thu Aug 29, 2013 5:40 am
by magisterson
How can I configure opencart mail tab in settings -> mail for gmail or ant other mail service?
1and1 HOSTING

I was trying "MAIL" protocol -> nothing... I see success information but mail is not sent.
Then I was trying SMTP protocol and I have something like this:

Code: Select all

Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /homepages/XX/XXXXXXXX/htdocs/system/library/mail.php on line 153Notice: Error: Connection timed out (110) in /homepages/XX/XXXXXXXX/htdocs/system/library/mail.php on line 156
Any ideas to solve this problem? (XXXXXX are my page number)
I was checking Google and opencart forum to find solutions but i found nothing:/

Please help.
---------------------------------
EDIT
I FOUND THE SOLUTION

If you Have the same problem you must set your shop like this:
open SYSTEM -> SETTINGS -> Mail TAB and set fields like this:

1. Protocol: MAIL
2. Parameters: LEAVE EMPTY
3. Host: LEAVE EMPTY
4. SMTP Name: Leave empty
5. password: LEAVE EMPTY
6. SMTP Port: 25
7. Connection timeout: 5
8. Notification options
- YES
- YES
9.Textarea empty

AND SAVE... only one thing you must do is type your e-mail adress to General TAB
"* E-mail: yourmail@yourmail.com"

Works Good in my shop: Contact form, notification to customers after make order.
If you can't still send e-mail using contact form open file: /system/library/mail.php

Find line 97

Code: Select all

$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
REPLACE WITH

Code: Select all

$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline;
Then uploaad again using FTP manager.

Re: 1and1 hosting and opencart contact form :(

Posted: Wed Mar 05, 2014 1:03 pm
by spectra_vikram
Hi, Guys I am new member in the fourm , I have no information about hosting, so let me know how does it work . Can you tell me about what is the open cart hosting. I hope someone will help me. :)

Re: 1and1 hosting and opencart contact form :(

Posted: Mon Jul 21, 2014 3:31 am
by raowaleedahmad
my version is 1.5.4 AND I DID ALL THE REQUIRED THING BUT STILL IT IS NOT WORKING ORDER E MAILS ARE NOT COMING AND IF I UPDATE ORDER STATUS AND SELECT TO NOTIFY THE CUSTOMER THEN CUSTOMER NOT GETTING ANY E MAIL
HELP ME OUT PLEASE

Re: 1and1 hosting and opencart contact form :(

Posted: Sat Apr 02, 2016 3:34 pm
by rasheedraj
i have done as said in this below img, but unfortunately its not sending any order emails.
why so, is there any other way to edit in php to get emails directly not from admin pannel.

Re: 1and1 hosting and opencart contact form :)

Posted: Fri Apr 22, 2016 9:38 pm
by Loving Beauty
Hey, I just tried your suggestion for the email error and it worked!! Thank you sooo much!!! :yahoo: :clap: :good:

Re: 1and1 hosting and opencart contact form :(

Posted: Sat Oct 15, 2016 1:49 pm
by dolpaz
Hello Sir,

I have tried all these process and yet, nothing is sending. even the contact mail is not working.

Please, help !
magisterson wrote:How can I configure opencart mail tab in settings -> mail for gmail or ant other mail service?
1and1 HOSTING

I was trying "MAIL" protocol -> nothing... I see success information but mail is not sent.
Then I was trying SMTP protocol and I have something like this:

Code: Select all

Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /homepages/XX/XXXXXXXX/htdocs/system/library/mail.php on line 153Notice: Error: Connection timed out (110) in /homepages/XX/XXXXXXXX/htdocs/system/library/mail.php on line 156
Any ideas to solve this problem? (XXXXXX are my page number)
I was checking Google and opencart forum to find solutions but i found nothing:/

Please help.
---------------------------------
EDIT
I FOUND THE SOLUTION

If you Have the same problem you must set your shop like this:
open SYSTEM -> SETTINGS -> Mail TAB and set fields like this:

1. Protocol: MAIL
2. Parameters: LEAVE EMPTY
3. Host: LEAVE EMPTY
4. SMTP Name: Leave empty
5. password: LEAVE EMPTY
6. SMTP Port: 25
7. Connection timeout: 5
8. Notification options
- YES
- YES
9.Textarea empty

AND SAVE... only one thing you must do is type your e-mail adress to General TAB
"* E-mail: yourmail@yourmail.com"

Works Good in my shop: Contact form, notification to customers after make order.
If you can't still send e-mail using contact form open file: /system/library/mail.php

Find line 97

Code: Select all

$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
REPLACE WITH

Code: Select all

$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline;
Then uploaad again using FTP manager.