Post by magisterson » Thu Aug 29, 2013 5:40 am

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.

New member

Posts

Joined
Tue Jul 23, 2013 10:15 pm

Post by spectra_vikram » Wed Mar 05, 2014 1:03 pm

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. :)


Posts

Joined
Wed Mar 05, 2014 12:37 pm

Post by raowaleedahmad » Mon Jul 21, 2014 3:31 am

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


Posts

Joined
Mon Jul 21, 2014 3:25 am

Post by rasheedraj » Sat Apr 02, 2016 3:34 pm

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.

Attachments

12941098_1028279630580719_96158328_o.jpg

12941098_1028279630580719_96158328_o.jpg (145.7 KiB) Viewed 3641 times


New member

Posts

Joined
Sat Apr 02, 2016 3:05 pm

Post by Loving Beauty » Fri Apr 22, 2016 9:38 pm

Hey, I just tried your suggestion for the email error and it worked!! Thank you sooo much!!! :yahoo: :clap: :good:

Newbie

Posts

Joined
Fri Apr 22, 2016 9:34 pm

Post by dolpaz » Sat Oct 15, 2016 1:49 pm

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.

Newbie

Posts

Joined
Thu Sep 05, 2013 12:46 am
Who is online

Users browsing this forum: No registered users and 62 guests