This module is a thin wrapper for the JavaScript MsgBase class for sending email messages from UNIX system components that utilize sendmail or mail commands to send mail to the system administrator.

This module can emulate either sendmail or mail/mailx command behavior.

The supported command-line syntax:

path/to/sendmail.js [-options] [--] <recipient> [recipient][...]
Option Description
Stop option parsing, all remaining arguments treated as recipients
-v Increase verbosity of output
-F Specify From name (only in sendmail mode)
-r or -f Specify From email address
-s Specify message Subject (only in semdmail mode)
-t Parse recipients from message header fields read from stdin

See Also

module/sendmail.txt · Last modified: 2023/02/26 15:21 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0