Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gae): migrate region tags step 1 & 3 - mail/app.yaml #13045

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions appengine/standard/mail/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ runtime: python27
api_version: 1
threadsafe: yes

# [START gae_mail_service_yaml_python]
# [START mail_service]
inbound_services:
- mail
- mail_bounce # Handle bounced mail notifications
# [END mail_service]
# [END gae_mail_service_yaml_python]

handlers:
- url: /user/.+
Expand All @@ -29,11 +31,14 @@ handlers:
script: send_mail.app
- url: /send_message
script: send_message.app
# [START gae_handle_incoming_email_yaml_python]
# [START handle_incoming_email]
- url: /_ah/mail/.+
script: handle_incoming_email.app
login: admin
# [END handle_incoming_email]
# [END gae_handle_incoming_email_yaml_python]
# [START gae_handle_all_email_yaml_python]
# [START handle_all_email]
- url: /_ah/mail/owner@.*your_app_id\.appspotmail\.com
script: handle_owner.app
Expand All @@ -45,11 +50,14 @@ handlers:
script: handle_catchall.app
login: admin
# [END handle_all_email]
# [END gae_handle_all_email_yaml_python]
# [START handle_bounced_email]
# [START gae_handle_bounced_email_yaml_python]
- url: /_ah/bounce
script: handle_bounced_email.app
login: admin
# [END handle_bounced_email]
# [END gae_handle_bounced_email_yaml_python]
- url: /attachment
script: attachment.app
- url: /header
Expand Down