Skip to content

Instantly share code, notes, and snippets.

@chrisidakwo
Forked from mrabbani/mailgun-config.md
Created September 14, 2018 06:46
Show Gist options
  • Save chrisidakwo/72fd78e9e8ebaa396eb1af04204f1a3c to your computer and use it in GitHub Desktop.
Save chrisidakwo/72fd78e9e8ebaa396eb1af04204f1a3c to your computer and use it in GitHub Desktop.
Laravel Mailgun Setup

Mailgun setup

  • install Guzzle HTTP library : composer require guzzlehttp/guzzle
  • [sign up to mailgun] (http://www.mailgun.com)
  • Go to Domains tab and click on domains
  • You will find the necessary data for .env setup
    • MAIL_DRIVER=mailgun
    • MAIL_HOST=smtp.mailgun.org
    • MAIL_PORT=587
    • MAIL_USERNAME=[email protected]
    • MAIL_PASSWORD=502fd951f7------------------------
    • MAILGUN_DOMAIN=sandbox21f9a-----------------------166f.mailgun.org
    • MAILGUN_SECRET=key-ee-----------------------------

-Now your mailgun configuration is complete and your are to send email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment