Bug: customers with empty emails stops send mail execution
2 posts
• Page 1 of 1
Bug: customers with empty emails stops send mail execution
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.
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
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 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!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Shane Rozzell, Sm00dE and 22 guests













