Commit Graph

96 Commits

Author SHA1 Message Date
Wietse de Vries
edae22eba4 Updated default API version from v2 to v3
http://blog.mailgun.com/default-api-version-now-v3/
2015-05-05 18:18:08 -07:00
Travis Swientek
b34805d86b Fixed broken test. 2014-11-19 14:52:34 -08:00
Travis Swientek
b28a742efb Merge branch 'verifyWebhookSignature' of https://github.com/gmacon/mailgun-php into gmacon-verifyWebhookSignature
Conflicts:
	src/Mailgun/Mailgun.php
2014-11-19 14:29:08 -08:00
Travis Swientek
f781158019 Removed legacy PHP closing braces 2014-10-06 15:53:33 -07:00
George Macon
46f63044ad Add Mailgun->verifyWebhookSignature 2014-06-24 17:36:21 -04:00
Iain Cambridge
e75c245cd6 Fix 5.3 compat 2014-05-14 14:08:12 +01:00
Iain Cambridge
e9e0f39ca8 Apply coding style that is in src 2014-05-14 14:06:05 +01:00
Iain Cambridge
6196f8df49 Add setMessage 2014-05-14 14:03:12 +01:00
Iain Cambridge
d28c6b81c9 Comment out possible php bug failure 2014-05-13 17:05:32 +01:00
Iain Cambridge
c203558234 Fix php 5.3 compat 2014-05-13 16:32:14 +01:00
Iain Cambridge
bdeadc1a01 Add tests to ensure exceptions are flung and fixed wrong variable name used 2014-05-13 16:12:32 +01:00
Iain Cambridge
502fac0b37 Fix fatal error in not finding exception.
Tried to throw MissingRequiredMIMEParameters which didn't exist in current namespace or added via use. Connection exceptions was included by MissingRequiredMIMEParameters is in messages exceptions so changed the added exception name to messages.

Exception message constant didn't exist. So added it.
2014-05-13 14:54:10 +01:00
Iain Cambridge
3af838f2c8 Move mocks
Created a Mocks directory to seperate mocks from classes.

I moved Mailgun\Tests\MailGunTest to Mailgun\Test\Mocks\Mailgun. As it's not a
test it's a mock. So shouldn't be suffixed with Test.

I mocked Mailgun\Tests\Connection\TestBroker to Mailgun\Tests\Mocks\Connection\TestBroker as it's a mock and should be with other mocks.
2014-05-13 14:25:26 +01:00
Travis Swientek
717cf5faed Improved security of OptInHandler. 2014-01-24 22:07:53 +00:00
Travis Swientek
af53fd50ff Ability to rename attachments and inline images. 2014-01-13 22:53:34 +00:00
Travis Swientek
5d7daeeeca Added method to return all message ids after a BatchMessage operation. 2013-10-11 17:31:04 -07:00
Travis Swientek
af853234e4 Refactored counters, batch job trigger adjustment, all recipient types in variables. 2013-10-11 13:36:35 -07:00
Travis Swientek
fc9685182b Fixed missing IDs for batch message recipients. Closes #15. 2013-10-07 13:53:23 -07:00
Travis Swientek
116fb33255 Relaxed Guzzle requirement, fixed reply-to bug, updated point release version. Fixes #7 Fixes #9 2013-09-12 14:19:23 -07:00
yoye
947267e935 Merge branch 'master' of github.com:yoye/mailgun-php 2013-09-05 15:19:07 +02:00
yoye
789eb27228 Fix bug toRecipientCount increment in BatchMessage 2013-09-05 10:35:26 +02:00
Travis Swientek
9438694415 Fixes #4. DEFAULT_TIME_ZONE is not defined. 2013-09-04 09:50:50 -07:00
Travis Swientek
24e6a01651 Added message id return to batch sending. 2013-08-21 23:11:24 -07:00
Travis Swientek
f4b7ff61e7 Fixed broken test 2013-08-19 15:02:07 -07:00
Travis Swientek
07837600e6 Added new OptInHandler and tests. 2013-08-16 11:20:01 -07:00
Travis Swientek
62d01db1e4 Removed inclusion of constants 2013-08-13 13:49:00 -07:00
Travis Swientek
685a7351d5 Refactor. Covered refactor in tests. 2013-08-13 12:26:34 -07:00
Travis Swientek
8498145b2f Adjustments 2013-08-08 16:28:02 -07:00
Travis Swientek
104bb72008 Refactor complete 2013-08-08 10:39:44 -07:00
Travis Swientek
1ff4357810 Modified and renamed HTTPBroker to RestClient. 2013-08-07 16:22:19 -07:00
Travis Swientek
1a390827b0 Update Bootstrap.php 2013-08-02 15:19:44 -07:00
Travis Swientek
7f1c066a3b Bootstrap tweakage 2013-08-02 14:49:56 -07:00
Travis Swientek
017f4fcd92 Finished Lists endpoint and added Address Validator 2013-08-02 11:30:09 -07:00
Travis Swientek
7872398f21 Merge branch 'master' of https://github.com/travelton/Mailgun-PHP 2013-08-02 10:49:04 -07:00
Travis Swientek
0bd40490dd Addition of campaigns, logs, lists, and routes 2013-08-02 10:48:57 -07:00
Travis Swientek
4ca9d8b08d Adjusted readme and exceptions 2013-07-28 15:56:48 -07:00
Travis Swientek
2f06edcee4 Another attempt to fix TestBroker 2013-07-25 16:15:20 -07:00
Travis Swientek
8196384b4c Fixed standard class declaration in TestBroker 2013-07-25 16:09:20 -07:00
Travis Swientek
71c4ce388e Updated .travis.yml to include composer dependencies. 2013-07-25 15:58:01 -07:00
Travis Swientek
4e43786949 Code cleanup! 2013-07-25 15:42:06 -07:00
Travis Swientek
762bfde571 Added multiple new endpoints and their respective tests! 2013-07-24 17:43:24 -07:00
Travis Swientek
8bd66e1d39 Removed unnecessary mock folder 2013-07-24 16:33:58 -07:00
Travis Swientek
f54649ac1e "Refactor Complete!" 2013-07-24 16:25:24 -07:00
Travis Swientek
5befeb0f66 End of day commit 2013-07-23 17:34:50 -07:00
Travis Swientek
e5ae7e47d3 Added test cases for all available methods. 2013-07-23 14:29:45 -07:00
Travis Swientek
c09e6fd579 Removed some stuff 2013-07-22 22:11:01 -07:00