diff options
Diffstat (limited to 'doc/smtp.html')
| -rw-r--r-- | doc/smtp.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/smtp.html b/doc/smtp.html index 8feae3e..bd18bfa 100644 --- a/doc/smtp.html +++ b/doc/smtp.html | |||
| @@ -69,7 +69,7 @@ To obtain the <tt>smtp</tt> namespace, run: | |||
| 69 | 69 | ||
| 70 | <pre class=example> | 70 | <pre class=example> |
| 71 | -- loads the SMTP module and everything it requires | 71 | -- loads the SMTP module and everything it requires |
| 72 | local smtp = require("smtp") | 72 | local smtp = require("socket.smtp") |
| 73 | </pre> | 73 | </pre> |
| 74 | 74 | ||
| 75 | <p> | 75 | <p> |
| @@ -239,7 +239,7 @@ and | |||
| 239 | 239 | ||
| 240 | <pre class=example> | 240 | <pre class=example> |
| 241 | -- load the smtp support | 241 | -- load the smtp support |
| 242 | local smtp = require("smtp") | 242 | local smtp = require("socket.smtp") |
| 243 | 243 | ||
| 244 | -- Connects to server "localhost" and sends a message to users | 244 | -- Connects to server "localhost" and sends a message to users |
| 245 | -- "fulano@example.com", "beltrano@example.com", | 245 | -- "fulano@example.com", "beltrano@example.com", |
| @@ -329,7 +329,7 @@ as listed in the introduction. </p> | |||
| 329 | 329 | ||
| 330 | <pre class=example> | 330 | <pre class=example> |
| 331 | -- load the smtp support and its friends | 331 | -- load the smtp support and its friends |
| 332 | local smtp = require("smtp") | 332 | local smtp = require("socket.smtp") |
| 333 | local mime = require("mime") | 333 | local mime = require("mime") |
| 334 | local ltn12 = require("ltn12") | 334 | local ltn12 = require("ltn12") |
| 335 | 335 | ||
