GNU TeXmacsUser manualReferenceAboutEnglish
Mail command

The mail command is a shell command that sends an email. It receives the message content via a temporary file. Available placeholders:

$USER_PSEUDO

The user pseudo‚

$USER_NAME

The user full name

$USER_EMAIL

The user email address

$USER_CODE

The confirmation or reset code

$FILE_NAME

Path to the temporary file containing the message

Examples:

sendmail $USER_EMAIL < $FILE_NAME

or

cat $FILE_NAME | mail $USER_EMAIL -s \"TeXmacs server Account information\" -r 'reply-to@mydomain.com'
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".