Post by wywong » Thu Apr 11, 2019 3:35 pm

Hi,

I've setup a store and everything run well including mail sending.
When sending a mail, it show "Your message has been successfully sent to 0 of 50 recipients!", but all the recipients able to receive the emails without any issue, just the message is wrongly showing 0 of 50 recipients.

Is there anyway to fix the message to be the correct number?

Thanks

Newbie

Posts

Joined
Fri Mar 29, 2019 10:02 am

Post by D3MO » Thu Apr 11, 2019 4:38 pm

in admin/controller/marketing/contact.php FIND:

$json['success'] = sprintf($this->language->get('text_sent'), $start, $email_total);

REPLACE WITH:

$json['success'] = sprintf($this->language->get('text_sent'), count($emails), $email_total);


what it does it simply will count how much emails were found in database to be sent

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by wywong » Fri Apr 12, 2019 8:15 am

WOW, the solution is short and simple. got it working now.
Thanks man :laugh:

Newbie

Posts

Joined
Fri Mar 29, 2019 10:02 am
Who is online

Users browsing this forum: No registered users and 28 guests