Post by keclap » Thu Jul 15, 2010 5:39 pm

Any progress on this?

I'm having exactly the same problem. Email is sent (or recieved) only through Contact form, other emails are never recieved. I've read all posts with similar of topic, but nothing works for me.
Other facts:
- OCv: 1.4.8b (firstly upgraded from 1.4.6, at this moment it is a clean install)
- server is linux based
- mail function is obviously enabled by my host (beside Contact form, I recieve emails from older cart (osCommerce) normally, also tried simple mail script)
- experimented with both mail and SMTP protocol in various ways (everything you can find in this forum)
- OC Error Log is empty
- but server Error Log states: - i have no hair left ;)

The OpenCart is the best ecommerce solution I've ever encountered, but I'm afraid email feature is essential and therefor can not be ignored.

Please, help me (us) find a solution.

Newbie

Posts

Joined
Tue Jul 13, 2010 9:54 pm

Post by danlanphear » Thu Jul 15, 2010 11:26 pm

I'll second that!

New member

Posts

Joined
Wed Jun 30, 2010 7:36 am

Post by keclap » Fri Jul 16, 2010 11:28 pm

Hey guys, I made it!!! ;D

My store now successfully sends emails through Contact Form and all order notifications (to customer and to admin)!

I replaced built-in mail function with PHPmailer and... it works!!! :laugh:

I described the procces here: http://forum.opencart.com/viewtopic.php ... 301#p85121

I truly hope this will work for the ones who had problems with built-in mail function (which remains a mistery...)!

Newbie

Posts

Joined
Tue Jul 13, 2010 9:54 pm

Post by danlanphear » Fri Jul 30, 2010 2:58 am

Solved: I gave up on this for a while out of frustration, but I have now corrected the malfunction.

If you visited my store as I listed it above, you would have seen that my Store Name was "Shop L & L". Our company is called L & L Computers and Design, so our store name was hence, Shop L & L.

After a lengthy consultation with my host provider, he e-mailed me a copy of the mail server log entry for my store. An excerpt is as follows:

Code: Select all

+++ 1OdsjF-0002Rk-BA has not completed +++
2010-07-27 16:34:29 1OdsjF-0002Rk-BA H=mailserver.hostdomain.com (email.mydomain.com) [74.220.215.60] F=<email.mydomain.com> rejected after DATA: syntax error in 'Reply-To:' header when scanning for sender: missing or malformed local part (expected word or "<") in "[i][b]Shop L & L[/b][/i]<email.mydomain.com>"
The tech at my host was very helpful, but not sure what to do, so while he consulted a higher level techie, I decided to remove the suspicious looking ampersand from our Store Name and change it to "Shop L and L", and it worked immediately.

I am of course, thrilled that this is fixed, but I am faced with the dilemma of the fact that my company and therefore store name is "L & L" not "L and L". Seems minor of course, but nonetheless, my company name is my company name. It's called branding.

I'm a little surprised nobody here has made any posts about this. Did the store name issue ever come up before? Has anyone else here experienced this problem? Can modx be modified so that an ampersand in the store name doesn't mess up the e-mail function? How about adding a field to the e-mail setup with a "Reply-To Name" option that disallows any problem characters without affecting the Store Name. The e-mail function could take that name from another entry instead. That is my free open source suggestion.

--Dan
shop.llcomputersanddesign.com

New member

Posts

Joined
Wed Jun 30, 2010 7:36 am

Post by paul01 » Wed Sep 01, 2010 6:02 am

Its sounds strange but it worked for me...

Just change the SMTP host from "mail.myserver.com" to "localhost"

and let know how it goes.

Newbie

Posts

Joined
Mon Aug 30, 2010 5:26 pm

Post by fgrace » Wed Sep 01, 2010 7:40 pm

Hi
I had exact same issue with emails not sending out.
I tried lots of things including changing an "&" from my website title.

What did work in the finish was to set email to "SMTP" and use "localhost" as the mail server, I had been using "mail.mywebsite.com" without any joy

hope this help

New member

Posts

Joined
Sat May 01, 2010 6:22 am

Post by essexboyracer » Sun Feb 13, 2011 2:22 am

Hi all, sorry to raise this one again. Using Version 1.4.9.1. Specified additional email alert addresses in System > Settings > Mail.

It seems the first two (that is store owner email and first additional alert email address) receive the order, yet anything after that do not.

Tried mail and SMTP, still the same. Checked server logs with host which confirm only three emails sent (customer, store owner and first alert email address)

I did get the following error when processing a test order

Code: Select all

Notice: fputs() [function.fputs]: send of 6 bytes failed with errno=104 Connection reset by peer in /home/public_html/shop/system/library/mail.php on line 359
Have diff'd mail.php between my version and the latest and the only difference is in the encoding of the subject line to account for order total currencies.

Before I try PHPMailer, any ideas?

Tring Web Design


New member

Posts

Joined
Thu Jun 03, 2010 2:20 pm

Post by essexboyracer » Sun Feb 13, 2011 5:56 pm

Solved the additional alert emails not receiving orders. It was to do with spaces between the emails in admin panel, e.g.

sales@company.com, info@othercompany.com

remove the spaces and it works

Tring Web Design


New member

Posts

Joined
Thu Jun 03, 2010 2:20 pm
Who is online

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