From 6e425a9de8c003b5a733621a6b6730ec3cc902b8 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 23 Dec 2006 00:30:12 +0000 Subject: 20061220 --- man/2/smtp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'man/2/smtp') 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 -- cgit v1.2.3