Skip to content

Mandrill

Mathieu Nayrolles edited this page Jan 20, 2016 · 1 revision

Mandrill

  • Class name: Mandrill
  • Namespace:

Properties

$apikey

public mixed $apikey
  • Visibility: public

$ch

public mixed $ch
  • Visibility: public

$root

public mixed $root = 'https://mandrillapp.com/api/1.0'
  • Visibility: public

$debug

public mixed $debug = false
  • Visibility: public

$error_map

public mixed $error_map = array("ValidationError" => "Mandrill_ValidationError", "Invalid_Key" => "Mandrill_Invalid_Key", "PaymentRequired" => "Mandrill_PaymentRequired", "Unknown_Subaccount" => "Mandrill_Unknown_Subaccount", "Unknown_Template" => "Mandrill_Unknown_Template", "ServiceUnavailable" => "Mandrill_ServiceUnavailable", "Unknown_Message" => "Mandrill_Unknown_Message", "Invalid_Tag_Name" => "Mandrill_Invalid_Tag_Name", "Invalid_Reject" => "Mandrill_Invalid_Reject", "Unknown_Sender" => "Mandrill_Unknown_Sender", "Unknown_Url" => "Mandrill_Unknown_Url", "Unknown_TrackingDomain" => "Mandrill_Unknown_TrackingDomain", "Invalid_Template" => "Mandrill_Invalid_Template", "Unknown_Webhook" => "Mandrill_Unknown_Webhook", "Unknown_InboundDomain" => "Mandrill_Unknown_InboundDomain", "Unknown_InboundRoute" => "Mandrill_Unknown_InboundRoute", "Unknown_Export" => "Mandrill_Unknown_Export", "IP_ProvisionLimit" => "Mandrill_IP_ProvisionLimit", "Unknown_Pool" => "Mandrill_Unknown_Pool", "NoSendingHistory" => "Mandrill_NoSendingHistory", "PoorReputation" => "Mandrill_PoorReputation", "Unknown_IP" => "Mandrill_Unknown_IP", "Invalid_EmptyDefaultPool" => "Mandrill_Invalid_EmptyDefaultPool", "Invalid_DeleteDefaultPool" => "Mandrill_Invalid_DeleteDefaultPool", "Invalid_DeleteNonEmptyPool" => "Mandrill_Invalid_DeleteNonEmptyPool", "Invalid_CustomDNS" => "Mandrill_Invalid_CustomDNS", "Invalid_CustomDNSPending" => "Mandrill_Invalid_CustomDNSPending", "Metadata_FieldLimit" => "Mandrill_Metadata_FieldLimit", "Unknown_MetadataField" => "Mandrill_Unknown_MetadataField")
  • Visibility: public
  • This property is static.

Methods

__construct

mixed Mandrill::__construct()
  • Visibility: public

__destruct

mixed Mandrill::__destruct()
  • Visibility: public

call

mixed Mandrill::call($url, $params)
  • Visibility: public

Arguments

  • $url mixed
  • $params mixed

readConfigs

mixed Mandrill::readConfigs()
  • Visibility: public

castError

mixed Mandrill::castError($result)
  • Visibility: public

Arguments

  • $result mixed

log

mixed Mandrill::log($msg)
  • Visibility: public

Arguments

  • $msg mixed
Clone this wiki locally