Community Forums

Bug: customers with empty emails stops send mail execution

Bug reports here

Bug: customers with empty emails stops send mail execution

Postby rickard2 » Tue Jul 03, 2012 9:17 am

When trying to send a message to multiple customers, if a customer with an empty email address is encountered the execution stops completely since Mail->send() triggers an error.

This should be avoided by never trying to send an email to a customer with an empty email address. The temporary solution for me was to skip empty addresses in sale/contact/send but there might be a better way to achieve the same effect.
rickard2
 
Posts: 1
Joined: Tue Jul 03, 2012 9:14 am

Re: Bug: customers with empty emails stops send mail executi

Postby Daniel » Tue Jul 03, 2012 12:34 pm

this is a bug caused by your self.

opencart forces customer to add an email before they can create an account so it can never be blank.

i'm assuming you have done some sort of db import from a different script.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
User avatar
Daniel
Administrator
 
Posts: 5185
Joined: Fri Nov 03, 2006 10:57 am


Return to Bug Reports

Who is online

Users browsing this forum: Shane Rozzell, Sm00dE and 22 guests

Hosted by Arvixe Web Hosting