aboutsummaryrefslogtreecommitdiff
path: root/doc/smtp.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 04:28:21 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 04:28:21 +0000
commit0a4c1534f39511894728da193ab8225ad6022de9 (patch)
tree683b711accf64eca486b138cbc034c609f93a53a /doc/smtp.html
parent8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (diff)
downloadluasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.gz
luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.bz2
luasocket-0a4c1534f39511894728da193ab8225ad6022de9.zip
Still work to do in the manual...
Diffstat (limited to 'doc/smtp.html')
-rw-r--r--doc/smtp.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/smtp.html b/doc/smtp.html
index 03698bf..0fdc4a4 100644
--- a/doc/smtp.html
+++ b/doc/smtp.html
@@ -105,6 +105,8 @@ smtp.<b>send{</b><br>
105&nbsp;&nbsp;from = <i>string</i>,<br> 105&nbsp;&nbsp;from = <i>string</i>,<br>
106&nbsp;&nbsp;rcpt = <i>string</i> or <i>string-table</i>,<br> 106&nbsp;&nbsp;rcpt = <i>string</i> or <i>string-table</i>,<br>
107&nbsp;&nbsp;source = <i>LTN12 source</i>,<br> 107&nbsp;&nbsp;source = <i>LTN12 source</i>,<br>
108&nbsp;&nbsp;[user = <i>string</i>],<br>
109&nbsp;&nbsp;[password = <i>string</i>],<br>
108&nbsp;&nbsp;[server = <i>string</i>],<br> 110&nbsp;&nbsp;[server = <i>string</i>],<br>
109&nbsp;&nbsp;[port = <i>string</i>]<br> 111&nbsp;&nbsp;[port = <i>string</i>]<br>
110&nbsp;&nbsp;[domain = <i>string</i>],<br> 112&nbsp;&nbsp;[domain = <i>string</i>],<br>
@@ -127,7 +129,11 @@ address, or a string
127in case there is just one recipient. 129in case there is just one recipient.
128The contents of the message are given by a <em>simple</em> LTN12 <tt>source</tt>. Several 130The contents of the message are given by a <em>simple</em> LTN12 <tt>source</tt>. Several
129arguments are optional: 131arguments are optional:
132</p>
130<ul> 133<ul>
134<li> <tt>user</tt>, <tt>password</tt>: User and password for
135authentication. The function will attempt LOGIN and PLAIN authentication
136methods if supported by the server (both are unsafe);
131<li> <tt>server</tt>: Server to connect to. Defaults to "localhost"; 137<li> <tt>server</tt>: Server to connect to. Defaults to "localhost";
132<li> <tt>port</tt>: Port to connect to. Defaults to 25; 138<li> <tt>port</tt>: Port to connect to. Defaults to 25;
133<li> <tt>domain</tt>: Domain name used to greet the server; Defaults to the 139<li> <tt>domain</tt>: Domain name used to greet the server; Defaults to the
@@ -135,7 +141,6 @@ local machine host name;
135<li> <tt>step</tt>: LTN12 pump step function used to pass data from the 141<li> <tt>step</tt>: LTN12 pump step function used to pass data from the
136source to the server. Defaults to the LTN12 <tt>pump.step</tt> function. 142source to the server. Defaults to the LTN12 <tt>pump.step</tt> function.
137</ul> 143</ul>
138</p>
139 144
140<p class=return> 145<p class=return>
141If successful, the function returns 1. Otherwise, the function returns 146If successful, the function returns 1. Otherwise, the function returns
@@ -293,7 +298,7 @@ and an epilogue.
293 298
294<p class=return> 299<p class=return>
295The function returns a <em>simple</em> LTN12 source that produces the 300The function returns a <em>simple</em> LTN12 source that produces the
296message contents as defined by <tt>mesgt</tt>. Hopefuly, the following 301message contents as defined by <tt>mesgt</tt>. Hopefully, the following
297example will make things clear. When in doubt, refer to the appropriate RFC 302example will make things clear. When in doubt, refer to the appropriate RFC
298as listed in the introduction. </p> 303as listed in the introduction. </p>
299 304