The API request was successful and Resend will attempt to deliver the message to the recipient’s mail server.
{"type":"email.sent","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
Resend successfully delivered the email to the recipient’s mail server.
{"type":"email.delivered","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
The email couldn’t be delivered to the recipient’s mail server because a temporary issue occurred. Delivery delays can occur, for example, when the recipient’s inbox is full, or when the receiving email server experiences a transient issue.
{"type":"email.delivered_delayed","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam.
{"type":"email.complained","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
The recipient’s mail server permanently rejected the email.
{"type":"email.bounced","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
{"type":"email.opened","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"subject":"Sending this example"}}
{"type":"email.clicked","created_at":"2023-02-22T23:41:12.126Z","data":{"created_at":"2023-02-22T23:41:11.894719+00:00","email_id":"56761188-7520-42d8-8898-ff6fc54ce618","from":"Acme <onboarding@resend.dev>","to":["delivered@resend.dev"],"click":{"ipAddress":"122.115.53.11","link":"https://resend.com","timestamp":"2023-02-24T05:00:57.163Z","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15"},"subject":"Sending this example"}}