Setting Up Mailgun to work with your LaraPass installation
Go to www.mailgun.com
and SignUp for a Free Account.
{primary} Mailgun Offers
5,000 Emails/month
for Free per month for 3 months.
In your Mailgun Control Panel, go to Domains
& then click on Add New Domain
Enter a domain you own. Please note that you can use this one domain with many services.
Follow the 4 Steps shown on the page to complete the setup. If you are finding difficulty in following them, then go here for a more detailed guide
{info} We are using
mg.domain.com
subdomain just to separate concerns. Its actually easier and more practical to just use your maindomain.com
instead.
Now Mailgun should have directed you to the DNS settings page. To find it manually, go to the Domains tab and select your domain. Here's a sample cropped image :
mydomain.com
(no need to create separate subdomain).
Add record
button to add all the necessary information.
v=spf...
v=spf
part needs an @
in front, not your domain, as Mailgun instructs..org!
Usually this takes about 24 hours. If you're in a hurry you're welcome to go insane with the "Check DNS Records Now" button.
You can now configure your LaraPass app to send emails using Mailgun.
Open Email Settings at https://yourdomain.com/admin/settings/email
This Mailgun tutorial was borrowed from Krister Viirsaar
. You can check out his original post here