Next: sendmail script emacs send, Up: sendmail script emacs [Contents][Index]
A customisation group called sendmail-mbfl
is available to
configure the library.
A string representing the name of the MBFL shell script. By default
set to sendmail-mbfl.sh
.
A list of strings representing extra arguments for the command line of
sendmail-mbfl.sh
. By default set to:
("--verbose" "--debug")
Select a function to call to acquire, from the current buffer, the
envelope email address of the sender, to be used in the MAIL FROM
SMTP command.
The function is invoked with no arguments and it must return a single string representing the email address. If no suitable address is found: it must raise an error. The function may be called multiple times for the same message buffer.
The selected function is used by send-mail-with-mbfl
. By default
it is set to sendmail-mbfl-envelope-from
.
Select a function to call to acquire, from the current buffer, the
envelope email addresses of the receivers, to be used in the RCPT
TO
SMTP command.
The function is invoked with no arguments and it must return a list of strings representing email addresses. If no suitable address is found: it must raise an error. The function may be called multiple times for the same message buffer.
The selected function is used by send-mail-with-mbfl
. By default
it is set to sendmail-mbfl-envelope-to
.
Select a function to call to extract a list of email addresses from an email header. It is invoked with no arguments and the buffer narrowed to the header to examine.
The function is invoked with no arguments and it must return a list of strings representing email addresses, or nil.
The selected function is used by sendmail-mbfl-envelope-from
and
sendmail-mbfl-envelope-to
.
Select a function to call to extract, from the current buffer, the hostname of the SMTP server to be used to send the message. The result is used as search key in the selected hostinfo file.
The function is invoked with no arguments and it must return a string representing the hostname; if it is unable to determine the hostname: it must raise an error.
The selected function is used by send-mail-with-mbfl
. By default
it is set to sendmail-mbfl-hostname
.
Select a function to call to extract, from the current buffer, the username with which to login to the SMTP server. The result is used as search key in the selected authinfo file.
The function is invoked with no arguments and it must return a string representing the username; if it is unable to determine the username: it must raise an error.
The selected function is used by send-mail-with-mbfl
. By default
it is set to sendmail-mbfl-username
.
The pathname of the file holding informations about known SMTP servers. Reading host informations from file.
By default it is set to ~/.mbfl-hostinfo.
The pathname of the file holding informations about known accounts at SMTP servers. Reading authentication credentials from file.
By default it is set to ~/.mbfl-authinfo.
Select the external program to use to establish the TLS transport
layer. Valid values are the strings: gnutls
, openssl
.
The default is openssl
because it is more likely to be installed
on any system.
Select the timeout in seconds for reading answers from the SMTP server. The default is 5.
Next: sendmail script emacs send, Up: sendmail script emacs [Contents][Index]