Skip to content

Commit 0bb721b

Browse files
committed
Mailgun: endpoint customization
1 parent 14eeb42 commit 0bb721b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ MAIL_FROM_NAME="Nottinghack Membership Team"
4545

4646
MAILGUN_DOMAIN=
4747
MAILGUN_SECRET=
48+
#MAILGUN_ENDPOINT=
49+
MAILGUN_FROM_ADDRESS=membership@nottinghack.org.uk
50+
MAILGUN_FROM_NAME="Nottinghack Membership Team"
4851

4952
AWS_ACCESS_KEY_ID=
5053
AWS_SECRET_ACCESS_KEY=

config/mailgun.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*/
99
'api' => [
10-
'endpoint' => 'api.mailgun.net',
10+
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
1111
'version' => 'v3',
1212
'ssl' => true,
1313
],

0 commit comments

Comments
 (0)