Get the information for a single recently sent message
Signature
public function info(string
$id )
Parameters
$id
—
string
the unique id of the message to get - passed as the "_id" field in webhooks, send calls, or search calls
Returns
struct
the information for the message - ts integer the Unix timestamp from when this message was sent
- _id string the message's unique id
- sender string the email address of the sender
- template string the unique name of the template used, if any
- subject string the message's subject line
- email string the recipient email address
- tags array list of tags on this message
- tags[] string individual tag on this message
- opens integer how many times has this message been opened
- opens_detail array list of individual opens for the message
- opens_detail[] struct information on an individual open
- ts integer the unix timestamp from when the message was opened
- ip string the IP address that generated the open
- location string the approximate region and country that the opening IP is located
- ua string the email client or browser data of the open
- clicks integer how many times has a link been clicked in this message
- clicks_detail array list of individual clicks for the message
- clicks_detail[] struct information on an individual click
- ts integer the unix timestamp from when the message was clicked
- url string the URL that was clicked on
- ip string the IP address that generated the click
- location string the approximate region and country that the clicking IP is located
- ua string the email client or browser data of the click
- state string sending status of this message: sent, bounced, rejected
- metadata struct any custom metadata provided when the message was sent
- smtp_events array a log of up to 3 smtp events for the message
- smtp_events[] struct information about a specific smtp event
- ts integer the Unix timestamp when the event occured
- type string the message's state as a result of this event
- diag string the SMTP response from the recipient's server