Skip to content

t_mailing_info_get ​

php
array t_mailing_info_get ( number $shipmentId )

Returns an array with general information about transactional mailing $shipmentId. Returns false if no mailing information is found. The returned array uses the following keys:

  • date - sending time (timestamp)
  • email - email address the message was sent to
  • send - whether the message was sent
  • received - receipt time
  • clicked - click time
  • bounced - whether the message bounced
  • campaign - campaign ID
  • from - From field of the sent message
  • subject - Subject field of the sent message

Example:

php
print_r(t_mailing_info_get(1));

Result:

Array
 (
     [2] => Array
         (
             [time] => 1524054443
             [email] => john.doe@example.com
             [status] => 6
             [source] => 0
             [ip] => 123.123.123.123
         )

 )