\Mandrill
A mandrill api client
Synopsis
class Mandrill
{
- // members
- public $apikey;
- public resource|CurlHandle $ch;
- public string $root = 'https://mandrillapp.com/api/1.0';
- public boolean $debug = false;
- public Mandrill_Templates $templates;
- public Mandrill_Exports $exports;
- public Mandrill_Users $users;
- public Mandrill_Rejects $rejects;
- public Mandrill_Inbound $inbound;
- public Mandrill_Tags $tags;
- public Mandrill_Messages $messages;
- public Mandrill_Whitelists $whitelists;
- public Mandrill_Ips $ips;
- public Mandrill_Internal $internal;
- public Mandrill_Subaccounts $subaccounts;
- public Mandrill_Urls $urls;
- public Mandrill_Webhooks $webhooks;
- public Mandrill_Senders $senders;
- public Mandrill_Metadata $metadata;
- public static array $error_map = ;
- // methods
- public void __construct()
- public static boolean curl_exec_follow()
- public void __destruct()
- public void call()
- public void readConfigs()
- public void castError()
- public void log()
Members
public
- $apikey — string
- $ch — resource|CurlHandle
- $debug — boolean
- $error_map — array
- $exports — Mandrill_Exports
- $inbound — Mandrill_Inbound
- $internal — Mandrill_Internal
- $ips — Mandrill_Ips
- $messages — Mandrill_Messages
- $metadata — Mandrill_Metadata
- $rejects — Mandrill_Rejects
- $root — string
- $senders — Mandrill_Senders
- $subaccounts — Mandrill_Subaccounts
- $templates — Mandrill_Templates
- $urls — Mandrill_Urls
- $users — Mandrill_Users
- $webhooks — Mandrill_Webhooks
- $whitelists — Mandrill_Whitelists
Methods
public
- __construct()
- __destruct()
- call()
- castError()
- curl_exec_follow() — A workaround for cURL: follow locations with safe_mode enabled or open_basedir set
- log()
- readConfigs()