File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This sample application demonstrates how to use [Mailgun with Google App Engine]
7
7
Before running this sample:
8
8
9
9
1 . You will need a [ Mailgun account] ( http://www.mailgun.com/google ) .
10
- 2 . Update ` MAILGUN_DOMAIN ` and ` MAILGUN_API_KEY ` in ` index.php ` to match your
10
+ 2 . Update ` MAILGUN_DOMAIN ` and ` MAILGUN_APIKEY ` in ` index.php ` to match your
11
11
Mailgun credentials. You can use your account's sandbox domain.
12
12
13
13
## Prerequisites
Original file line number Diff line number Diff line change 23
23
24
24
// set your Mailgun domain name and API key
25
25
$ app ['mailgun.domain ' ] = 'MAILGUN_DOMAIN_NAME ' ;
26
- $ app ['mailgun.api_key ' ] = 'MAILGUN_API_KEY ' ;
26
+ $ app ['mailgun.api_key ' ] = 'MAILGUN_APIKEY ' ;
27
27
28
28
// Run the app!
29
29
// use "gcloud preview app deploy" or run "php -S localhost:8000"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function beforeDeploy()
36
36
$ indexPhp
37
37
);
38
38
$ indexPhp = str_replace (
39
- 'MAILGUN_API_KEY ' ,
39
+ 'MAILGUN_APIKEY ' ,
40
40
getenv ('MAILGUN_APIKEY ' ),
41
41
$ indexPhp
42
42
);
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This sample application demonstrates how to use [Mailjet with Google App Engine]
7
7
Before running this sample:
8
8
9
9
1 . You will need a [ Mailjet account] ( http://www.mailjet.com ) .
10
- 2 . Update ` MAILJET_API_KEY ` and ` MAILJET_SECRET ` in ` index.php ` to match your
10
+ 2 . Update ` MAILJET_APIKEY ` and ` MAILJET_SECRET ` in ` index.php ` to match your
11
11
Mailjet credentials.
12
12
13
13
## Prerequisites
Original file line number Diff line number Diff line change 70
70
});
71
71
72
72
$ app ['mailjet ' ] = function () use ($ app ) {
73
- if ($ app ['mailjet.api_key ' ] == 'MAILJET_API_KEY ' ) {
73
+ if ($ app ['mailjet.api_key ' ] == 'MAILJET_APIKEY ' ) {
74
74
return 'set your mailjet api key and secret in index.php
' ;
75
75
}
76
76
$ mailjetApiKey = $ app ['mailjet.api_key ' ];
Original file line number Diff line number Diff line change 22
22
$ app = require __DIR__ . '/app.php ' ;
23
23
24
24
// set your Mailjet API key and secret
25
- $ app ['mailjet.api_key ' ] = 'MAILJET_API_KEY ' ;
25
+ $ app ['mailjet.api_key ' ] = 'MAILJET_APIKEY ' ;
26
26
$ app ['mailjet.secret ' ] = 'MAILJET_SECRET ' ;
27
27
28
28
// Run the app!
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function beforeDeploy()
31
31
chdir ($ tmpDir );
32
32
$ indexPhp = file_get_contents ('index.php ' );
33
33
$ indexPhp = str_replace (
34
- 'MAILJET_API_KEY ' ,
34
+ 'MAILJET_APIKEY ' ,
35
35
getenv ('MAILJET_APIKEY ' ),
36
36
$ indexPhp
37
37
);
You can’t perform that action at this time.
0 commit comments