Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andris Reinman committed Feb 10, 2012
1 parent 65cfdab commit 2685865
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -147,7 +147,7 @@ Possible SES options are the following:


* **AWSAccessKeyID** - AWS access key (required) * **AWSAccessKeyID** - AWS access key (required)
* **AWSSecretKey** - AWS secret (required) * **AWSSecretKey** - AWS secret (required)
* **ServiceUrl** - optional API endpoint URL (defaults to *"https://email.us-east-1.amazonaws.com"*) * **ServiceUrl** - optional API end point URL (defaults to *"https://email.us-east-1.amazonaws.com"*)


Example: Example:


Expand All @@ -158,7 +158,7 @@ Example:


### Setting up Sendmail ### Setting up Sendmail


Sendmail transport method streams the compiled message to the stdin of *sendmail* Sendmail transport method streams the compiled message to the *stdin* of *sendmail*
command. command.


Configuration is really easy, the options parameter is optional but you can Configuration is really easy, the options parameter is optional but you can
Expand Down Expand Up @@ -210,18 +210,18 @@ Example:
var transport = new nodemailer.Transport("Sendmail"); var transport = new nodemailer.Transport("Sendmail");


var mailOptions = { var mailOptions = {
transport: transport,
from: "me@tr.ee", from: "me@tr.ee",
to: "me@tr.ee", to: "me@tr.ee",
subject: "Hello world!", subject: "Hello world!",
text: "Plaintext body", text: "Plaintext body"
transport: transport
} }


nodemailer.sendMail(mailOptions, function(){}); nodemailer.sendMail(mailOptions, function(){});


### Attachment fields ### Attachment fields


Attahcment object cosists of the following properties: Attahcment object consists of the following properties:


* **fileName** - filename to be reported as the name of the attached file, use of unicode is allowed (except when using Amazon SES which doesn't like it) * **fileName** - filename to be reported as the name of the attached file, use of unicode is allowed (except when using Amazon SES which doesn't like it)
* **cid** - optional content id for using inline images in HTML message source * **cid** - optional content id for using inline images in HTML message source
Expand Down

0 comments on commit 2685865

Please sign in to comment.