Post by daniel2008 » Fri Jun 15, 2012 6:16 pm

Hi,

Just found the email function didn't work suddenly, nor the contact form!
They worked very well and I haven't changed anything.

At the present no email sends to my Gmail account as usual. I've tried to test it on submitting a
complete contact form. It appears 'Your enquiry has been successfully sent to the store owner!'
but actually no email was received.

I'm using OC1.946 now. I've checked the related threads about 'email not work' in the forum.

I'm sure it's not a setting issue as my mail setting is as follows,
Mail Protocol: Mail (I've tried SMTP as well)
Mail Parameters: (blank)
SMTP Host: smtp.gmail.com (I've tried ssl://smtp.gmail.com as well)
SMTP Username: (yours)
SMTP Password: ****
SMTP Port: 465
SMTP Timeout: 5

I've also tried to use other email setting (not Gmail) but still no email was sent out.

As the problem happened suddenly, there is no script changed for the files related.
Can anyone suggest me where to trace the issue? Many thanks,

http://www.smartebuy.com.au/ http://www.myleathers.com.au/ http://www.cctv4oz.com.au/ http://www.origreen.com.au/


Active Member

Posts

Joined
Wed Jul 07, 2010 8:54 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pkef » Tue Jun 19, 2012 2:26 am

I have the same issue.

I checked with my host but they cannot find any error log.
I tried mail() function and it is working perfect. I also put debugging code in /system/library/mail.php after the code that sends the email.... and the code works perfect! But the mail stil not receiving!!!!! I don't know what to do

Has anyone a solution?

Newbie

Posts

Joined
Fri May 11, 2012 4:13 pm

Post by pkef » Tue Jun 19, 2012 4:20 am

I found the problem

at /system/library/mail.php

change:
public $newline = "\n";

with:
public $newline = "\r";

Newbie

Posts

Joined
Fri May 11, 2012 4:13 pm

Post by Yixuan_lee » Thu Dec 13, 2012 4:44 am

Excellent! Thank you very much. Struggled whole day with email, I finally get it worked. :)

Newbie

Posts

Joined
Sat Dec 08, 2012 6:16 pm

Post by Yixuan_lee » Thu Dec 13, 2012 4:58 am

somehow there is still problem with email adress. The email I received with a default email adress which is associated with my username on the hostserver.

This is format

"youruser name on hostserver"@some number"hostname".com

Any solutions for this?
_____________________________________________________

Problem solved.
please refer to http://forum.opencart.com/viewtopic.php ... 60#p366486

basically I can not change the default email adress generated by hostserver, but the VQmod code allows to include email contact information of users in the content of the email.

Newbie

Posts

Joined
Sat Dec 08, 2012 6:16 pm
Who is online

Users browsing this forum: Google [Bot] and 101 guests