How to Configure Mailgun in LaraContact to Send Emails
LaraContact is an absolute multi user’s online contact management application that helps you organize your contacts in a centralized location.
In this article, you will learn about the procedure to configure Mailgun in LaraContact to send emails, so follow the steps written below for quick and easy integration.
What is Mailgun?
Mailgun is the all-in-one, intelligent email delivery platform trusted by businesses, loved by developers.
One of the huge benefits of Mailgun is that they allow you to send up to 10,000 emails/month for free in their free plan. If you exceed the limit of the free plan in a month, then every 1000 emails cost 0.50$. The limit of 10,000 emails is more than you might need if you are a small business or an individual. Read more about the Mailgun plans.
How to Configure Mailgun in LaraContact
Configuring Mailgun in LaraContact only takes a few minutes. It’s definitely one of the easiest transactional email services out there to setup. Follow the steps below:
Step 1 : Signup for a free account
First, signup for a free account at Mailgun.com And then Log in to your Mailgun account with your login credentials.
Step 2: Grab your Mailgun API Key
When you sign up for Mailgun, they generate a primary account API key.
This key allows you to perform all CRUD operations via various mailgun API endpoints and for any of your sending domains. To view your API key:
- Click on Settings on the left-hand side of the Mailgun dashboard.
- Select API Keys from the menu below on the left-hand side.
- On the following page, under the API Keys section, you’ll see your Private API key.
- Click on the eye icon to make the full API key visible.
Step 3: Configure LaraContact to send emails
Log in to LaraContact portal using your admin credentials and choose Site Configuration From the caret Dropdown menu.
Enter your mailgun domain and API Key from Step 2 and click on “Save Settings” to apply the changes.
Then click on “Send Email” and send a test email to ensure everything is working correctly.
Voila!! All emails from your LaraContact application will now go out via Mailgun’s mail servers.