Skip to content

Instantly share code, notes, and snippets.

@EmberRed
Forked from mrabbani/mailgun-config.md
Created February 20, 2019 21:02
Show Gist options
  • Save EmberRed/d4cbb301dd87a00b687448669ec5fef2 to your computer and use it in GitHub Desktop.
Save EmberRed/d4cbb301dd87a00b687448669ec5fef2 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