Description
Lists all emails sent with numerous filters.. Be careful, by default only a small amount of result is returned regarding the last emails sent. Use the "limit" parameter to obtain as many results as you want.
Request URL
api.mailjet.com/0.1/reportEmailsent
Code Sample
<?php # Call $response = $mj->reportEmailSent(); # Result $emails = $response->emails; $count = $reponse->cnt; ?>
Parameters
Return
| Label | Type | Description |
| blocked | Integer | [0]: yes; [1]: no; |
|---|---|---|
| bounce | Integer | [0]: yes; [1]: no; |
| click | Integer | [0]: yes; [1]: no; |
| cnt_recipients | String | Number of recipients |
| email_id | String | Mailjet's email ID |
| from_email | String | Sender address |
| from_id | Integer | Mailjet's Sender ID |
| from_name | String | Sender name |
| id | Integer | |
| open | Integer | [0]: yes; [1]: no; |
| queued | Integer | [0]: yes; [1]: no; |
| sendtime_end | Timestamp | Date of last email sent |
| sendtime_start | Timestamp | Date of first email sent |
| sent | Integer | [0]: yes; [1]: no; |
| spam | Integer | [0]: yes; [1]: no; |
| status | String | queued, sent, opened, clicked, bounce, blocked, spam or unsub. |
| subject | String | Email's subject |
| to_email | String | Email address |
| to_id | Integer | Mailjet's contact ID |