I'm trying to setup the team invitation that sends an email to the entered email address with mailgun,
On my config/services.php I've added;
'mailgun' => [
'domain' => env('theactualdomainname'),
'secret' => env('andthesecretkey'),
],
On my .env file I've added;
MAIL_DRIVER=mailgun
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=emailadress
MAIL_PASSWORD=themailpassword
MAIL_ENCRYPTION=tls
MAILGUN_DOMAIN=thedomain name
MAILGUN_SECRET=thesecretkey
I've used the CanJoinTeams trait and included it in the user model.
Is there something else I'm missing that's needed to get the email invitation to work?
Or is that all that's needed and I've got the mailgun account settings wrong?
Any help with this will be greatly appreciated!