mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 16:29:24 +03:00
Removed inclusion of constants
This commit is contained in:
parent
41c4d31ae5
commit
62d01db1e4
@ -1,14 +0,0 @@
|
|||||||
<?PHP
|
|
||||||
|
|
||||||
const API_USER = "api";
|
|
||||||
const SDK_VERSION = "0.1";
|
|
||||||
const SDK_USER_AGENT = "mailgun-sdk-php";
|
|
||||||
|
|
||||||
//Common Exception Messages
|
|
||||||
|
|
||||||
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.";
|
|
||||||
|
|
||||||
?>
|
|
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
namespace Mailgun\Tests;
|
namespace Mailgun\Tests;
|
||||||
|
|
||||||
require 'Connection/Constants/Constants.php';
|
|
||||||
require 'Messages/Constants/Constants.php';
|
|
||||||
|
|
||||||
use Mailgun\Mailgun;
|
use Mailgun\Mailgun;
|
||||||
use Mailgun\Tests\Connection\TestBroker;
|
use Mailgun\Tests\Connection\TestBroker;
|
||||||
|
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
<?PHP
|
|
||||||
|
|
||||||
const RECIPIENT_COUNT_LIMIT = 1000;
|
|
||||||
const CAMPAIGN_ID_LIMIT = 3;
|
|
||||||
const TAG_LIMIT = 3;
|
|
||||||
|
|
||||||
//Common Exception Messages
|
|
||||||
|
|
||||||
const TOO_MANY_RECIPIENTS = "You've exceeded the maximum recipient count (1,000) on the to field with autosend disabled.";
|
|
||||||
const EXCEPTION_MISSING_REQUIRED_MIME_PARAMETERS = "The parameters passed to the API were invalid. This might be a bug! Notify support@mailgun.com.";
|
|
||||||
|
|
||||||
const INVALID_PARAMETER_NON_ARRAY = "The parameter you've passed in position 2 must be an array.";
|
|
||||||
const INVALID_PARAMETER_ATTACHMENT = "Attachments must be passed with an \"@\" preceding the file path. Web resources not supported.";
|
|
||||||
const INVALID_PARAMETER_INLINE = "Inline images must be passed with an \"@\" preceding the file path. Web resources not supported.";
|
|
||||||
const TOO_MANY_PARAMETERS_CAMPAIGNS = "You've exceeded the maximum (3) campaigns for a single message.";
|
|
||||||
const TOO_MANY_PARAMETERS_TAGS = "You've exceeded the maximum (3) tags for a single message.";
|
|
||||||
const TOO_MANY_PARAMETERS_RECIPIENT = "You've exceeded the maximum recipient count (1,000) on the to field with autosend disabled.";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
Loading…
x
Reference in New Issue
Block a user