summaryrefslogtreecommitdiff
path: root/man/2/smtp
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
commit6e425a9de8c003b5a733621a6b6730ec3cc902b8 (patch)
tree314123bcab78ff295f38f85f31dc141e5fe22d15 /man/2/smtp
parent74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (diff)
20061220
Diffstat (limited to 'man/2/smtp')
-rw-r--r--man/2/smtp10
1 files changed, 4 insertions, 6 deletions
diff --git a/man/2/smtp b/man/2/smtp
index 16cde120..f94cdf3d 100644
--- a/man/2/smtp
+++ b/man/2/smtp
@@ -7,7 +7,7 @@ include "smtp.m";
smtp := load Smtp Smtp->PATH;
open: fn(server: string): (int, string);
-sendmail: fn(fromwho: string,
+sendmail: fn(fromwhom: string,
towhom: list of string,
cc: list of string,
msg: list of string): (int, string);
@@ -26,11 +26,9 @@ is nil,
.B open
uses the
default mail server
-.B $MAILSERVER
-if set up in
-.BR /services/cs/db ;
-see
-.IR db (6).
+.BR $smtp ,
+which must be defined in
+.IR ndb (6).
It returns -1 and an error message if the connection fails.
.PP
.B Sendmail