Skip to content

Commit

Permalink
Merge pull request #126 from elgerlambert/patch-1
Browse files Browse the repository at this point in the history
Fixed missing links in README.md
  • Loading branch information
andris9 committed Jan 23, 2013
2 parents 7b38c11 + eed2095 commit f84a055
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -122,8 +122,8 @@ transport.sendMail(mailOptions, callback);
Where

* `transport` is a transport object created from the `nodemailer.createTransport` method
* **mailOptions** defines the e-mail (set its subject, body text, receivers etc.), see **E-mail Message Fields** for details
* **callback** is the callback function that will be run after the e-mail is sent or the sending failed (see **Return callback** for details)
* **mailOptions** defines the e-mail (set its subject, body text, receivers etc.), see [E-mail Message Fields](#e-mail-message-fields) for details
* **callback** is the callback function that will be run after the e-mail is sent or the sending failed (see [Return callback](#return-callback) for details)

## Setting up a transport method

Expand Down Expand Up @@ -167,7 +167,7 @@ terms), you do not want to do it several times.

Possible SMTP options are the following:

* **service** - an optional well known service identifier ("Gmail", "Hotmail" etc., see **Well known Services** for a list of supported services) to auto-configure host, port and secure connection settings
* **service** - an optional well known service identifier ("Gmail", "Hotmail" etc., see [Well known Services](#well-known-services-for-smtp) for a list of supported services) to auto-configure host, port and secure connection settings
* **host** - hostname of the SMTP server (defaults to "localhost", not needed with `service`)
* **port** - port of the SMTP server (defaults to 25, not needed with `service`)
* **secureConnection** - use SSL (default is `false`, not needed with `service`). If you're using port 587 then keep `secureConnection` false, since the connection is started in insecure plain text mode and only later upgraded with STARTTLS
Expand Down Expand Up @@ -368,7 +368,7 @@ transport.useDKIM({
transport.sendMail(mailOptions);
```

See examples/example_dkim.js for a complete example.
See [examples/example_dkim.js](https://github.com/andris9/Nodemailer/blob/master/examples/example_dkim.js) for a complete example.

**NB!** Be careful when using services like Gmail, SES etc. through SMTP
(SES API is handled by Nodemailer automatically) - these tend to modify some
Expand Down

0 comments on commit f84a055

Please sign in to comment.