Go 1.11은 지원이 종료되었으며 2026년 1월 31일에
지원 중단됩니다. 지원 중단 후에는 조직에서 이전에 조직 정책을 사용하여 레거시 런타임의 배포를 다시 사용 설정한 경우에도 Go 1.11 애플리케이션을 배포할 수 없습니다. 기존 Go 1.11 애플리케이션은
지원 중단 날짜 이후에도 계속 실행되고 트래픽을 수신합니다.
지원되는 최신 Go 버전으로 마이그레이션하는 것이 좋습니다.
반송 알림 받기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이메일 반송 알림을 수신하려면 앱 구성을 통해 이메일 알림을 사용 설정해야 하며 이러한 알림을 처리할 핸들러를 만들어야 합니다.
앱에서 반송 알림을 수신하도록 구성
이 구성은 두 부분으로 이루어집니다. 먼저 알림을 사용하도록 설정해야 합니다. 두 번째로 /_ah/bounce
와 반송 핸들러 간의 매핑을 App Engine이 알림 데이터를 게시할 위치를 인식하도록 설정합니다. 앱에서 반송된 이메일 알림을 수신하도록 구성하려면 다음 안내를 따르세요.
app.yaml
파일에 다음을 추가하여 알림을 사용 설정합니다.
inbound_services:
- mail_bounce
- 또한
app.yaml
에서, 다음과 같이 코드 내에 /_ah/bounce
와 반송 알림 핸들러 간의 매핑을 설정합니다. 예를 들면 다음과 같습니다.- url: /_ah/bounce
script: _go_app
login: admin
반송 알림 처리
앱에서 반송 핸들러 코드를 제공해야 해당 알림을 수신하고 처리할 수 있습니다.
반송 알림은 /_ah/bounce
에 대한 POST 요청으로 앱에 전송됩니다. 반송에 대한 정보는 요청 본문에 양식으로 인코딩됩니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-09-04(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eTo get email bounce notifications, you must enable email notifications in your app and create a handler for them.\u003c/p\u003e\n"],["\u003cp\u003eEnable bounce notifications in your \u003ccode\u003eapp.yaml\u003c/code\u003e file by adding \u003ccode\u003einbound_services: - mail_bounce\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIn \u003ccode\u003eapp.yaml\u003c/code\u003e, map \u003ccode\u003e/_ah/bounce\u003c/code\u003e to your bounce handler, specifying where to POST notification data.\u003c/p\u003e\n"],["\u003cp\u003eYour bounce handler will receive POST requests to \u003ccode\u003e/_ah/bounce\u003c/code\u003e, containing form-encoded bounce information.\u003c/p\u003e\n"]]],[],null,["# Receiving Bounce Notification\n\nIn order to receive email bounce notifications, you need to configure\nyour app to enable email notification and you need to create a handler\nto handle those notifications.\n\nConfiguring Your App to Receive Bounce\nNotifications\n----------------------------------------------------\n\nThere are two parts to the configuration. First, you need to enable\nnotification. Second, you need to set the mapping between\n`/_ah/bounce` and your bounce handler, so App Engine knows where to\nPOST the notification data. To configure your app to receive bounced email\nnotifications:\n\n1. Add the following to your `app.yaml` file to enable notification: \n\n ```scdoc\n inbound_services:\n - mail_bounce\n ```\n2. Also in `app.yaml`, declare a mapping between `/_ah/bounce` and the bounce notification handler in your code, for example: \n\n ```scdoc\n - url: /_ah/bounce\n script: _go_app\n login: admin\n ```\n\nHandling Bounce Notifications\n-----------------------------\n\nIn your app, you'll need to supply bounce handler code to receive and\nprocess the notifications.\n\nThe bounce notification will be sent to your app as a POST request to\n`/_ah/bounce`. Information about the bounce will be form-encoded in\nthe body of the request."]]