You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make the "invite a new user" feature work, so if it works my reminders will work too, but every time I try to send an invite I get the following error:
Whoops, looks like something went wrong.
Connection could not be established with host smtp.mailgun.org [Connection timed out #110]
.env file:
#Mail credentials used to send emails from the application.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=[email protected]
MAIL_PASSWORD=7132a158e69dc8e5ef-5645b1f9-09c75161
MAIL_ENCRYPTION=tls
#Outgoing emails will be sent with these identity
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME="Monica instance"
#New registration notification sent to this email
APP_EMAIL_NEW_USERS_NOTIFICATION=
After trying for a while, I came up with the following .env file:
# Mail credentials used to send emails from the application.
MAIL_DRIVER=mailgun
MAIL_HOST=smtp.mailgun.org
MAIL_PORT="587"
[email protected]
MAIL_PASSWORD=7132a158e645b1f9-09c75161
MAIL_ENCRYPTION=tls
# Outgoing emails will be sent with these identity
[email protected]
MAIL_FROM_NAME="Monica instance"
# New registration notification sent to this email
APP_EMAIL_NEW_USERS_NOTIFICATION=
MAILGUN_DOMAIN=sandbox4d5254920f21.mailgun.org
MAILGUN_SECRET=key-89f753ed5f6fdc
You've to add the MAILGUN_DOMAIN and MAILGUN_SECRET to your .env file.
I hope this helps someone facing the same issue.
elanosilveira
changed the title
Mail credentials not working [Mailgun]
[FIXED]Mail credentials not working [Mailgun]
Dec 16, 2019
Hi,
I'm trying to make the "invite a new user" feature work, so if it works my reminders will work too, but every time I try to send an invite I get the following error:
Whoops, looks like something went wrong.
Connection could not be established with host smtp.mailgun.org [Connection timed out #110]
.env file:
#Mail credentials used to send emails from the application.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=[email protected]
MAIL_PASSWORD=7132a158e69dc8e5ef-5645b1f9-09c75161
MAIL_ENCRYPTION=tls
#Outgoing emails will be sent with these identity
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME="Monica instance"
#New registration notification sent to this email
APP_EMAIL_NEW_USERS_NOTIFICATION=
Log:
Any tip on what I'm doing wrong would help a lot.
Thanks
The text was updated successfully, but these errors were encountered: