Skip to content

t_mailings_id ​

php
boolean|array t_mailings_id (number|array $period)

Returns transactional email mailing IDs for the specified time range. A single numeric parameter returns IDs from $period to time(). An array, array($od,$do), returns IDs from that time range.

Example:

php
foreach (t_mailings_id(1) as $shipmentId) {
$shipmentInfo = t_mailing_info_get($shipmentId);
print($shipmentId.';'.$shipmentInfo['subject']."\n");
}
 2;Test mailing
 3;Another mailing