Permalink
Browse files

Edited README.md via GitHub

  • Loading branch information...
1 parent 1057497 commit 5948ac8d8bf676882446dd465842d79ff52075c0 @JonLim JonLim committed Aug 17, 2011
Showing with 10 additions and 10 deletions.
  1. +10 −10 README.md
View
@@ -49,17 +49,17 @@ After that, you should be good to go. Load the module in your app and call the `
The `options` parameter on the `sendMessage()` function is a hash that contains all of the arguments that you will be using in your API call. Here is an example API call:
- var options = {
- recipients: "email@address.com",
+ var options = {
+ recipients: "email@address.com",
- subject: "Subject Line",
- from: "sender@example.org",
-
- content: {
- 'text/html': '<strong>Sample bold content.</strong>',
- 'text/plain': 'Plain text goes here'
- }
- }
+ subject: "Subject Line",
+ from: "sender@example.org",
+
+ content: {
+ 'text/html': '<strong>Sample bold content.</strong>',
+ 'text/plain': 'Plain text goes here'
+ }
+ }
You can use any of the arguments available to [send_message.json](http://help.postageapp.com/kb/api/send_message) when creating this hash.

0 comments on commit 5948ac8

Please sign in to comment.