Adjusted README

This commit is contained in:
Travis Swientek 2013-08-13 14:35:22 -07:00
parent 62d01db1e4
commit afef8b4c88

View File

@ -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: