Skip to content

Commit

Permalink
Sendmail support update
Browse files Browse the repository at this point in the history
  • Loading branch information
Andris Reinman committed May 9, 2012
1 parent d6cc175 commit ac74656
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -243,10 +243,10 @@ Example:
Sendmail transport method streams the compiled message to the *stdin* of *sendmail*
command.

Configuration is really easy, the options parameter is optional but you can
use it to define the path to the *sendmail* command
Possible sendmail options are the following:

var transport = nodemailer.createTransport("Sendmail", "/usr/bin/sendmail");
* **path** - path to the `sendmail` command (defaults to *"sendmail"*)
* **args** - an array of extra command line options to pass to the `sendmail` command (ie. `["-f sender@example.com"]`)

### DKIM Signing

Expand Down
2 changes: 1 addition & 1 deletion lib/engines/sendmail.js
Expand Up @@ -18,7 +18,7 @@ function SendmailTransport(config){
if(config.path) {
this.path = config.path;
}
if(config.args instanceof Array) {
if(Array.isArray(config.args)) {
this.args = config.args;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "nodemailer",
"description": "Easy to use module to send e-mails, supports unicode and SSL/TLS",
"version": "0.3.19",
"version": "0.3.20",
"author" : "Andris Reinman",
"maintainers":[
{
Expand Down

0 comments on commit ac74656

Please sign in to comment.