    Mojolicious::Plugin::Mailgun - Easy Email sending with mailgun

SYNOPSIS
      # Mojolicious::Lite
      plugin 'mailgun' => { mom => {
        api_key => '123',
        domain => 'mom.no',
      }};

      # Mojolicious
      $self->plugin(mailgun => { mom => {
        site => {
          api_key => '123',
          domain => 'mom.no',
      }});

      # in controller named params
      $self->mailgun->send( mom => {
        recipient => 'pop@pop.com',
        subject   => 'use Perl or die;'
        html      => $html,
        inline    => { file => 'public/file.png' },
        sub { my $self,$res = shift },  # receives a Mojo::Transaction from mailgun.
      );

DESCRIPTION
    Provides a quick and easy way to send email using the Mailgun API.

OPTIONS
    Mojolicious::Plusin::Mailgun can be provided a hash of mailgun sites
    with api key and domain, or you can read them directly from the
    settings.

HELPERS
    Mojolicious::Plugin::Mailgun implements one helper.

  mailgun->send <$site>, <$post_options>, <$cb>
METHODS
    Mojolicious::Plugin::SMS inherits all methods from Mojolicious::Plugin
    and implements the following new ones.

  "register"
    $plugin->register;

    Register plugin hooks and helpers in Mojolicious application.

SEE ALSO
    Mojolicious, SMS::Send, SMS::Send::Test.

AUTHOR
    Marcus Ramberg <mramberg@cpan.org>

COPYRIGHT & LICENSE
    Copyright (C) 2017 by Marcus Ramberg.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

POD ERRORS
    Hey! The above document had some coding errors, which are explained
    below:

    Around line 44:
        Unknown directive: =HEAD1

