Skip to content

Commit a370bc8

Browse files
committed
#2939 Site can now send mail again.
This now goes through the Mailgun API vs direct SMTP connection which is blocked by AWS.
1 parent 141bb7d commit a370bc8

File tree

4 files changed

+29
-21
lines changed

4 files changed

+29
-21
lines changed

.env.docker.example

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,16 @@ REDIS_DB_MODEL_CACHE=1
8585

8686
MAIL_FROM_ADDRESS=
8787
MAIL_FROM_NAME=
88-
MAIL_DRIVER=smtp
89-
MAIL_HOST=mailtrap.io
90-
MAIL_PORT=2525
91-
MAIL_USERNAME=null
92-
MAIL_PASSWORD=null
93-
MAIL_ENCRYPTION=null
88+
MAIL_DRIVER=mailgun
89+
#MAIL_HOST=mailtrap.io
90+
#MAIL_PORT=2525
91+
#MAIL_USERNAME=null
92+
#MAIL_PASSWORD=null
93+
#MAIL_ENCRYPTION=null
94+
95+
MAILGUN_DOMAIN=keystone.guru
96+
MAILGUN_SECRET=
97+
MAILGUN_ENDPOINT=api.eu.mailgun.net
9498

9599
PUSHER_APP_ID=
96100
PUSHER_APP_KEY=

.env.example

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,16 @@ REDIS_DB_MODEL_CACHE=1
8484

8585
MAIL_FROM_ADDRESS=
8686
MAIL_FROM_NAME=
87-
MAIL_DRIVER=smtp
88-
MAIL_HOST=mailtrap.io
89-
MAIL_PORT=2525
90-
MAIL_USERNAME=null
91-
MAIL_PASSWORD=null
92-
MAIL_ENCRYPTION=null
87+
MAIL_DRIVER=mailgun
88+
#MAIL_HOST=mailtrap.io
89+
#MAIL_PORT=2525
90+
#MAIL_USERNAME=null
91+
#MAIL_PASSWORD=null
92+
#MAIL_ENCRYPTION=null
93+
94+
MAILGUN_DOMAIN=keystone.guru
95+
MAILGUN_SECRET=
96+
MAILGUN_ENDPOINT=api.eu.mailgun.net
9397

9498
PUSHER_APP_ID=
9599
PUSHER_APP_KEY=

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
"socialiteproviders/battlenet": "^4.1.0",
114114
"socialiteproviders/discord": "^4.2.0",
115115
"spatie/url": "^2.3",
116-
"symfony/http-client": "^7.0",
117-
"symfony/mailgun-mailer": "^7.0",
116+
"symfony/http-client": "^7.1",
117+
"symfony/mailgun-mailer": "^7.1",
118118
"tray-labs/laravel-influxdb": "^1.0",
119119
"tremby/laravel-git-version": "^1.1",
120120
"zircote/swagger-php": "^4.8"

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)