forked from GoogleCloudPlatform/python-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yaml
More file actions
47 lines (45 loc) · 1.01 KB
/
app.yaml
File metadata and controls
47 lines (45 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
runtime: python27
api_version: 1
threadsafe: yes
# [START bounce_service]
# [START mail_service]
inbound_services:
- mail
# [END mail_service]
- mail_bounce
# [END bounce_service]
handlers:
- url: /user/.+
script: user_signup.app
- url: /send_mail
script: send_mail.app
- url: /send_message
script: send_message.app
# [START handle_incoming_email]
- url: /_ah/mail/.+
script: handle_incoming_email.app
login: admin
# [END handle_incoming_email]
# [START handle_all_email]
- url: /_ah/mail/owner@.*your_app_id\.appspotmail\.com
script: handle_owner.app
login: admin
- url: /_ah/mail/support@.*your_app_id\.appspotmail\.com
script: handle_support.app
login: admin
- url: /_ah/mail/.+
script: handle_catchall.app
login: admin
# [END handle_all_email]
# [START handle_bounced_email]
- url: /_ah/bounce
script: handle_bounced_email.app
login: admin
# [END handle_bounced_email]
- url: /attachment
script: attachment.app
- url: /header
script: header.app
- url: /
static_files: index.html
upload: index.html