---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://docs.sendcorex.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.sendcorex.com/llms.txt"
---

Source: https://docs.sendcorex.com/th/api-reference/webhooks/events/return-path

เหตุการณ์ webhook · การส่ง

# return_path

ส่งเมื่อข้อความ bounce (DSN) มาถึงทีหลัง หลังจากเซิร์ฟเวอร์ผู้รับยอมรับอีเมลไปแล้ว ความล้มเหลวจะเปลี่ยนอีเมลเป็น bounced การแจ้งล่าช้าหรือส่งถึงจะส่งเฉพาะเหตุการณ์นี้

ส่งเป็น `POST` ที่มีลายเซ็นไปยัง URL webhook ของคุณ ดู [การตั้งค่าและเหตุการณ์](https://docs.sendcorex.com/th/api-reference/webhooks/setup-events#quick-start) สำหรับวิธีตรวจลายเซ็น

## Payload

```
// Bounce message received
{
  "event": "return_path",
  "timestamp": "2026-10-23T04:40:02.000Z",
  "data": {
    "recipientEmail": "john.doe@example.com",
    "fromAddress": "noreply@yourdomain.com",
    "reason": "550 5.1.1 The email account that you tried to reach does not exist",
    "trackingId": "7c4f2d9b-1a8e-4305-9b1e-6d2a0f7c3e81"
  }
}
```

**ไม่มี emailId ที่ระดับบนสุด** ข้อความ bounce มีเพียง ID การติดตามของเรา เหตุการณ์นี้จึงไม่มี emailId ใช้ data.trackingId และ data.recipientEmail เพื่อจับคู่

**เกิดอะไรกับที่อยู่** หากที่อยู่ไม่มีอยู่ จะเข้ารายการ hard bounce 90 วัน และการส่งครั้งต่อไปจะถูกระงับ กล่องจดหมายเต็มนับเป็น soft bounce และหลัง 3 ครั้งติดกัน ที่อยู่จะถูกถือเป็น hard bounce การบล็อกด้วยนโยบายหรือชื่อเสียง (5.7.x) ไม่ทำเครื่องหมายที่อยู่ การแจ้งว่าอีเมลล่าช้าหรือส่งถึงแล้วจะคงสถานะอีเมลเดิม

[เหตุการณ์ bounced →](https://docs.sendcorex.com/th/api-reference/webhooks/events/bounced)

## ข้อมูลอ้างอิงฟิลด์

- `event`
ค่าคงที่: "return_path"
- `timestamp`
เวลาที่ประมวลผลข้อความ bounce (ISO 8601, UTC)
- `data.recipientEmail`
ที่อยู่อีเมลผู้รับ
- `data.fromAddress`
ที่อยู่อีเมลผู้ส่ง
- `data.reason`
ข้อผิดพลาดจากข้อความ bounce (สูงสุด 300 ตัวอักษร)
- `data.trackingId`
ตัวระบุของอีเมลต้นฉบับ จากที่อยู่ bounce
