MyNixOS website logo
option

accounts.email.accounts.<name>.mblaze.sendMailCommand

Command to send a mail, written to the Sendmail: entry of the account profile. If msmtp is enabled for the account, then this is set to msmtpq --read-envelope-from --read-recipients.

mcom(1) appends the Sendmail-Args: entry to it, -t by default, which asks for the recipients to be collected from the message headers. Set that entry through for a command that takes its arguments differently.

When left null the entry is omitted and mblaze falls back to sendmail from PATH.

Declarations
Type
null or string
Default
null
Example
"msmtpq --read-envelope-from --read-recipients"