NAME
WebService::SendGrid::Mail - An email class for sending a message through SendGrid
VERSION
version 1.03
SYNOPSIS
use WebService::SendGrid::Mail;
my $mail = WebService::SendGrid::Mail->new(
api_user => 'jlloyd', # same username for logging into the website
api_key => 'abcdefgh123456789', # same password for logging into the website
to => 'jlloyd@cpan.org',
from => 'jlloyd@cpan.org',
subject => 'This is a test',
text => 'This is a test message',
html => '<html><head></head><body>This is a test HTML message</body></html>'
);
$mail->send;
1;
DESCRIPTION
Allows you to send an email through the SendGrid Web API
AUTHOR
Jonathan Lloyd <webmaster@lifegames.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Lloyd <webmaster@lifegames.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.