Skip to content

Commit

Permalink
Add subject-related docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
robi42 committed Sep 12, 2010
1 parent c5c9c2b commit ebdf3dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,10 @@ To send to multiple recipients simply use an array:

BTW, if `from`'s omitted `javax.mail`'s [fallback] mechanism is used.

Setting the subject (defaults to being empty if omitted):

mail.send({to: 'hugo@example.com', subject: '[FTW] Ohai'});

So, to actually send some text:

mail.send({from: 'jdoe@example.com', to: 'hugo@example.com', text: 'Hi'});
Expand Down

0 comments on commit ebdf3dd

Please sign in to comment.