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]
77Before running this sample:
88
991 . 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
1111 Mailgun credentials. You can use your account's sandbox domain.
1212
1313## Prerequisites
Original file line number Diff line number Diff line change 2323
2424// set your Mailgun domain name and API key
2525$ app ['mailgun.domain ' ] = 'MAILGUN_DOMAIN_NAME ' ;
26- $ app ['mailgun.api_key ' ] = 'MAILGUN_API_KEY ' ;
26+ $ app ['mailgun.api_key ' ] = 'MAILGUN_APIKEY ' ;
2727
2828// Run the app!
2929// 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()
3636 $ indexPhp
3737 );
3838 $ indexPhp = str_replace (
39- 'MAILGUN_API_KEY ' ,
39+ 'MAILGUN_APIKEY ' ,
4040 getenv ('MAILGUN_APIKEY ' ),
4141 $ indexPhp
4242 );
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]
77Before running this sample:
88
991 . 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
1111 Mailjet credentials.
1212
1313## Prerequisites
Original file line number Diff line number Diff line change 7070});
7171
7272$ app ['mailjet ' ] = function () use ($ app ) {
73- if ($ app ['mailjet.api_key ' ] == 'MAILJET_API_KEY ' ) {
73+ if ($ app ['mailjet.api_key ' ] == 'MAILJET_APIKEY ' ) {
7474 return 'set your mailjet api key and secret in <code>index.php</code> ' ;
7575 }
7676 $ mailjetApiKey = $ app ['mailjet.api_key ' ];
Original file line number Diff line number Diff line change 2222$ app = require __DIR__ . '/app.php ' ;
2323
2424// set your Mailjet API key and secret
25- $ app ['mailjet.api_key ' ] = 'MAILJET_API_KEY ' ;
25+ $ app ['mailjet.api_key ' ] = 'MAILJET_APIKEY ' ;
2626$ app ['mailjet.secret ' ] = 'MAILJET_SECRET ' ;
2727
2828// Run the app!
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function beforeDeploy()
3131 chdir ($ tmpDir );
3232 $ indexPhp = file_get_contents ('index.php ' );
3333 $ indexPhp = str_replace (
34- 'MAILJET_API_KEY ' ,
34+ 'MAILJET_APIKEY ' ,
3535 getenv ('MAILJET_APIKEY ' ),
3636 $ indexPhp
3737 );
You can’t perform that action at this time.
0 commit comments