mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 06:16:03 +03:00
Incremented version to release
This commit is contained in:
parent
adeceab7ab
commit
56b5057f9a
24
README.md
24
README.md
@ -8,7 +8,7 @@ Below are examples to get you started. For additional examples, please see our
|
|||||||
official documentation
|
official documentation
|
||||||
at http://documentation.mailgun.com
|
at http://documentation.mailgun.com
|
||||||
|
|
||||||
Current Release: 0.7
|
Current Release: 1.0
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
@ -22,7 +22,7 @@ composer and the Mailgun SDK.
|
|||||||
curl -sS https://getcomposer.org/installer | php
|
curl -sS https://getcomposer.org/installer | php
|
||||||
|
|
||||||
# Add Mailgun as a dependency
|
# Add Mailgun as a dependency
|
||||||
php composer.phar require mailgun/mailgun-php:~0.7
|
php composer.phar require mailgun/mailgun-php:~1.0
|
||||||
```
|
```
|
||||||
|
|
||||||
For shared hosts with SSH access, you might need to run this instead (contact
|
For shared hosts with SSH access, you might need to run this instead (contact
|
||||||
@ -99,29 +99,29 @@ http://documentation.mailgun.com/api-intro.html?highlight=401#errors
|
|||||||
example, a var_dump($result) would contain the following:
|
example, a var_dump($result) would contain the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
object(stdClass)#26 (2) {
|
||||||
["http_response_body"]=>
|
["http_response_body"]=>
|
||||||
object(stdClass)#31 (2) {
|
object(stdClass)#26 (2) {
|
||||||
["total_count"]=>
|
["total_count"]=>
|
||||||
int(62)
|
int(12)
|
||||||
["items"]=>
|
["items"]=>
|
||||||
array(1) {
|
array(1) {
|
||||||
[0]=>
|
[0]=>
|
||||||
array(5) {
|
object(stdClass)#31 (5) {
|
||||||
["hap"]=>
|
["hap"]=>
|
||||||
string(10) "tempfailed"
|
string(9) "delivered"
|
||||||
["created_at"]=>
|
["created_at"]=>
|
||||||
string(29) "Mon, 19 Aug 2013 19:41:33 GMT"
|
string(29) "Tue, 20 Aug 2013 20:24:34 GMT"
|
||||||
["message"]=>
|
["message"]=>
|
||||||
string(155) "Will retry in 14400 seconds: me@samples.mailgun.org →
|
string(66) "Delivered: me@samples.mailgun.org → travis@mailgunhq.com 'Hello'"
|
||||||
sergeyo@profista.com 'Hello' No MX for [profista.com] Server response:
|
|
||||||
498 No MX for [profista.com]"
|
|
||||||
["type"]=>
|
["type"]=>
|
||||||
string(4) "warn"
|
string(4) "info"
|
||||||
["message_id"]=>
|
["message_id"]=>
|
||||||
string(46) "20130819113429.18813.89868@samples.mailgun.org"
|
string(46) "20130820202406.24739.21973@samples.mailgun.org"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For usage examples on each API endpoint, head over to our official documentation
|
For usage examples on each API endpoint, head over to our official documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user