mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 16:29:24 +03:00
Adjusted README
This commit is contained in:
parent
62d01db1e4
commit
afef8b4c88
@ -42,10 +42,10 @@ $mg = new Mailgun("key-example");
|
|||||||
$domain = "example.com";
|
$domain = "example.com";
|
||||||
|
|
||||||
# Now, compose and send your message.
|
# Now, compose and send your message.
|
||||||
$mg->post('{$domain}/messages', array('from' => 'bob@example.com',
|
$mg->sendMessage($domain, array('from' => 'bob@example.com',
|
||||||
'to' => 'sally@example.com',
|
'to' => 'sally@example.com',
|
||||||
'subject' => 'The PHP SDK is awesome!',
|
'subject' => 'The PHP SDK is awesome!',
|
||||||
'text' => 'It is so simple to send a message.'));
|
'text' => 'It is so simple to send a message.'));
|
||||||
```
|
```
|
||||||
|
|
||||||
Or obtain the last 25 log items:
|
Or obtain the last 25 log items:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user