age Mojolicious::Command::sendgrid::mail::send;
use Mojo::Base 'Mojolicious::Command';
use Mojo::JSON 'j';
use Mojo::Sendgrid;
use Data::Dumper;
use Getopt::Long qw(GetOptionsFromArray :config no_au
$self->sendgrid->mail(to=>$to,from=>$from,subject=>$subject,text=>join("\n",<STDIN>))->send->res->json;
}
1;
=encoding utf8
=head1 NAME
Mojolicious::Command::sendgrid::mail::send - Send command of
email
=head1 DESCRIPTION
L<Mojolicious::Command::sendgrid::mail::send> sends emails.
Prints the json response to STDOUT.
=head1 ATTRIBUTES
L<Mojolicious::Command::sendgrid::mail::send> inherits al