NAME

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

VERSION

version 0.9

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

user_info

user_senders

send

send_template

send_raw

list_scheduled

cancel_scheduled

reschedule

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

templates

add_template

get_template

update_template

publish_template

delete_template

render_template

exports

get_export

export_rejects

export_whitelist

export_activity

INTERNALS

BUILD

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

BUGS

Please report any bugs or feature requests on GitHub's issue tracker https://github.com/nupfel/WebService-Mandrill/issues.

SUPPORT

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

perldoc WebService::Mandrill

You can also look for information at:

AUTHOR

Tobias Kirschstein <lev@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Tobias Kirschstein.

This is free software, licensed under:

The (three-clause) BSD License