Commit Graph

264 Commits

Author SHA1 Message Date
Nathan Perkins
9fe01151af Add HTTP properties to generic error
Allows generic HTTP error to accept more detailed information about the response from the server.
2014-06-16 10:38:42 -04:00
Travis Swientek
57d0160b00 Update SharedHostInstall.md 2014-05-27 11:00:52 -07:00
Travis Swientek
6aa6054d9b Update README.md 2014-05-27 11:00:26 -07:00
Travis Swientek
b16608bd5f Merge pull request #45 from tarjei/master
Depend on guzzle  >=3.8
2014-05-27 10:45:51 -07:00
Tarjei Huse
f47892e58c Depend on guzzle >=3.8
As guzzle 3.9.* is out, mailgun should support it as well - else it
creates conflicts on larger projects.
2014-05-22 07:03:36 +02:00
Travis Swientek
be27861e11 Merge pull request #44 from icambridge/setMessage
Add setMessage to MessageBuilder
2014-05-14 14:29:27 -05: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
Travis Swientek
fea1279b93 Merge pull request #42 from icambridge/fixAllTheThings
Fixed Fatal error and Warnings added tests
2014-05-13 11:14:52 -05:00
Iain Cambridge
d28c6b81c9 Comment out possible php bug failure 2014-05-13 17:05:32 +01:00
Iain Cambridge
103fa04ede Whitespace changes. (Probably some PSR-2 stuff as well 2014-05-13 16:53:40 +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
35c65aaa57 Removed apiKey member since it's not used anywhere. 2014-05-13 14:59:11 +01:00
Iain Cambridge
34d8203262 Removed pointless try and catch. None of the functions threw an exception and it was just rethrowing. Also Exception didn't exist in that namespace 2014-05-13 14:58:12 +01:00
Iain Cambridge
33f3d27d7b Move fclose and unlink to before the return so they're actually called. 2014-05-13 14:57:23 +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
08e67d8e9e Merge pull request #41 from Milannv/patch-1
Fixed typo for including an Exception
2014-04-15 14:27:02 -07:00
Milannv
9b4668c564 Fixed typo for including an Exception 2014-03-10 13:40:59 +01:00
Travis Swientek
15f38e3737 Merge pull request #31 from travelton/ImproveOptInSecurity
Improved security of OptInHandler.
2014-02-14 10:53:02 -08:00
Travis Swientek
d8b57132d5 Merge pull request #33 from travelton/PatchAggregator
This patch swaps the aggregator to "PHPAggregator" if files are included...
2014-01-30 17:09:06 -08:00
Travis Swientek
8d23a5bb9f This patch swaps the aggregator to "PHPAggregator" if files are included. Also added straight download. 2014-01-30 17:05:40 -08:00
Travis Swientek
717cf5faed Improved security of OptInHandler. 2014-01-24 22:07:53 +00:00
Travis Swientek
6bfebad84d Update SharedHostInstall.md
Updated the require version.
2014-01-14 16:33:31 -08:00
Travis Swientek
cfa02122c9 Merge pull request #29 from travelton/RenameFiles
Ability to rename attachments and inline images & Duplicate Post/Put Fields
2014-01-14 16:30:25 -08:00
Travis Swientek
d3a0d6aed9 Fixed Guzzle post/put field aggregation. 2014-01-14 00:45:34 +00:00
Travis Swientek
af53fd50ff Ability to rename attachments and inline images. 2014-01-13 22:53:34 +00:00
Travis Swientek
ac23becab4 Merge pull request #26 from travelton/master
Added tip4commit on README.
2013-12-14 14:15:53 -08:00
Travis Swientek
535b063de3 Added tip4commit on README. 2013-12-14 14:12:53 -08:00
Travis Swientek
8025b17a13 Merge pull request #24 from nmenglund/patch-1
In README.md, added getFiles() reference to MessageBuilder example
2013-12-13 17:36:32 -08:00
Nils Magnus Englund
1b4ab0ced1 In README.md, added getFiles() reference to MessageBuilder example 2013-12-10 14:48:01 +01:00
Travis Swientek
493b5ee216 Update README.md
Added debugging section. [ci skip]
2013-12-05 13:58:16 -08:00
Travis Swientek
0018d4f6ad Version bump to 1.5. 2013-12-05 13:23:38 -08:00
Travis Swientek
c82fc3a578 Merge pull request #23 from travelton/DisableSSLOption
Add ability to disable SSL (backward compatible).
2013-12-02 10:30:46 -08:00
Travis Swientek
72c10a5428 Added ability to disable SSL for testing against a Postbin or other endpoint. 2013-11-30 11:47:03 -08:00
Travis Swientek
0e1f124f91 Incremented version 2013-10-16 13:52:33 -07:00
Travis Swientek
89df1283b7 Update CHANGELOG.md 2013-10-16 13:52:02 -07:00
Travis Swientek
82d17b5b6f Merge pull request #19 from travelton/messageids
BatchMessage Improvements
2013-10-16 13:39:57 -07: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
7323f28f3a Merge pull request #18 from travelton/bugfix/templatevariables
Refactored counters, batch job trigger adjustment, all recipient types i...
2013-10-11 13:48:38 -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
70cd750ace Merge pull request #16 from travelton/BatchMessageFixing
Fixed missing IDs for batch message recipients. Closes #15.
2013-10-07 17:00:54 -07:00
Travis Swientek
fc9685182b Fixed missing IDs for batch message recipients. Closes #15. 2013-10-07 13:53:23 -07:00
Travis Swientek
18ee48e3b4 Merge pull request #14 from travelton/master
Added change log to document changes between versions. Closes #13.
2013-10-02 11:19:16 -07:00
Travis Swientek
75ffd38b1d Added change log to document changes between versions. Closes #13. 2013-10-02 11:17:16 -07:00
Travis Swientek
1da58bb51d Merge pull request #10 from nmenglund/patch-1
Update README.md, fixed MessageBuilder example
2013-09-30 11:33:10 -07:00
Nils Magnus Englund
dc8e7fea9e Update README.md, fixed MessageBuilder example
The $domain element was not processed in the single quotes. Changed to double quotes.
2013-09-18 15:37:32 +02: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