mailing_sent_count
php
number mailing_sent_count(number $ile_godzin)Returns the total number of emails sent to the bound email address. If the optional $ile_godzin parameter is provided, returns the number sent within the last $ile_godzin hours. Only regular mailings and registration confirmation requests are included. By default, SARE stores information about the last 200 completed mailings.
Warning
Requires an address context.
Example:
php
if (mailing_sent_count(7 * 24) <= 5) {
ok();
} else {
system_skipmessage();
}Result:
In this example, the mailing skips recipients who were sent more than 5 emails in the last seven days (7 days multiplied by 24 hours).