Permalink
Browse files

Updated readme

  • Loading branch information...
1 parent d3c4871 commit 40b7b486c515dcfb935df374d660ffd16fb09fc1 Andris Reinman committed Feb 10, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
@@ -87,14 +87,15 @@ object as `transport`
var transport = new nodemailer.Transport("SMTP", {smtp_options});
var mailOptions = {
+ transport: transport,
from: "sender@tr.ee",
- to: "receiver@tr.ee",
- transport: transport
+ to: "receiver@tr.ee"
+ ...
};
### Possible transport methods
-Needed `type` parameter can be one of the following:
+Required `type` parameter can be one of the following:
* **SMTP** for using SMTP
* **SES** for using Amazon SES
@@ -104,7 +105,7 @@ Needed `type` parameter can be one of the following:
SMTP is different from the other transport mechanisms, as in its case a connection
pool is created. All the connections try to stay alive as long as possible and
-are reusable to minimize the protocol overhead delay (for example setting up
+are reusable to minimize the protocol overhead delay - for example setting up
TLS for authenticating is relatively lengthy process (in CPU terms, not by human
terms), you do not want to do it several times.

0 comments on commit 40b7b48

Please sign in to comment.