summaryrefslogtreecommitdiff
path: root/man/2/smtp
diff options
context:
space:
mode:
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