1and1 hosting and opencart contact form :(
Posted: 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:
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
REPLACE WITH
Then uploaad again using FTP manager.
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
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;
Code: Select all
$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline;