2013-07-23 07:50:50 +04:00
|
|
|
<?PHP
|
|
|
|
|
|
|
|
const API_USER = "api";
|
|
|
|
const SDK_VERSION = "0.1";
|
|
|
|
const SDK_USER_AGENT = "mailgun-sdk-php";
|
|
|
|
|
2013-08-02 23:43:50 +04:00
|
|
|
//Common Exception Messages
|
2013-07-26 02:42:06 +04:00
|
|
|
|
|
|
|
const EXCEPTION_INVALID_CREDENTIALS = "Your credentials are incorrect.";
|
|
|
|
const EXCEPTION_GENERIC_HTTP_ERROR = "An HTTP Error has occurred! Check your network connection and try again.";
|
|
|
|
const EXCEPTION_MISSING_REQUIRED_MIME_PARAMETERS = "The parameters passed to the API were invalid. This might be a bug! Notify support@mailgun.com.";
|
|
|
|
const EXCEPTION_MISSING_ENDPOINT = "The endpoint you've tried to access does not exist. This might be a bug! Notify support@mailgun.com.";
|
|
|
|
|
2013-07-26 03:04:09 +04:00
|
|
|
?>
|