Quota counter is not working when sending through API

Fabyc

Active Member
I'm sending a lot of transactional emails through API, but all of these emails are not counted.

In "Customers" menu and "Customer group" I have setup "Count transactional emails" as "Yes"-

Is it a bug or is it needed to setup something else?

I attach screenshots in where you can see I'm talking about.

MW 1.9.15
PHP 7.3.20

Thanks
 

Attachments

  • 2020-11-12_quota-counters.png
    2020-11-12_quota-counters.png
    29.5 KB · Views: 5
  • 2020-11-12_cuota-in-customer.png
    2020-11-12_cuota-in-customer.png
    7.1 KB · Views: 5
Last edited:

twisted1919

Administrator
Staff member
@Fabyc - Yeah, there you go:

Screenshot 2020-11-16 at 21.22.04.png
Just add
PHP:
self::DELIVERY_FOR_TRANSACTIONAL,
after the
PHP:
self::DELIVERY_FOR_LIST,
In apps/common/models/DeliveryServer.php file at line ~1330.
 
Top