Charles.Forsyth20060303-partialeea662d19 years agoHistory
48 lines · 1.0 KB · Text
RawDownload
.TH SENDMAIL 1.SH NAMEsendmail \- send mail messages.SH SYNOPSIS.B sendmail[.I recipient ...].SH DESCRIPTION.B Sendmailsends mail to each.I recipientnamed as an argument. It reads its standard input toget the text of the message.If no.I recipientis named, the recipient(s) will be taken from the message header..PPThe mail message is scanned for lines beginning.RL ` From: ',.RL ` To: 'and.RL ` Cc: '..brIf no `from'line is found, the sender is assumed to be the current user. The recipient(s) of the messagecan be mentioned as arguments or in a list of names in a.RL ` To: 'line but not as both. If the sender's name is unqualified (is just a user name),.I sendmailappends the value of the environment variable.LR DOMAIN ..PP.B Sendmaildelivers the mail using the module.IR smtp (2),whichconnects to a mail server running the Simple Mail Transport Protocol (SMTP),using the symbolic host name.B $MAILSERVER(see.IR db (6))..SH SOURCE.B /appl/cmd/sendmail.b.SH SEE ALSO.IR smtp (2),.IR db (6)