The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

WebService::Mandrill - an interface to mandrillapp.com's RESTful Web API using Web::API

VERSION

Version 0.2.2

SYNOPSIS

Please refer to the API documentation at http://mandrillapp.com/api/docs/index.html

    use WebService::Mandrill;
    
    my $mandrill = WebService::Mandrill->new(
        debug   => 1,
        api_key => '12345678-9abc-def0-1234-56789abcdef0',
    );
    
    my $response = $mandrill->send(
        subject      => "h4x0r",
        from_email   => "mail@example.com",
        text         => "what zee fug",
        track_opens  => 1,
        track_clicks => 1,
        to => [
            { email => 'mail@example.com' }
        ],
    );

SUBROUTINES/METHODS

ping

ping2

user_info

user_senders

send

send_raw

parse

tags

tag

delete_tag

tag_history

all_tag_history

rejects

delete_reject

senders

sender

sender_domains

sender_history

urls

search_urls

url_history

webhooks

webhook

add_webhook

update_webhook

delete_webhook

inbound_domains

inbound_routes

inbound_raw

INTERNALS

BUILD

basic configuration for the client API happens usually in the BUILD method when using Web::API

AUTHOR

Tobias Kirschstein, <lev at cpan.org>

BUGS

Please report any bugs or feature requests to bug-webservice-mandrill at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-Mandrill. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WebService::Mandrill

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2013 Tobias Kirschstein.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.