Next: sendmail script emacs misc, Previous: sendmail script emacs send, Up: sendmail script emacs [Contents][Index]
sendmail-mbfl-envelope-from
interprets the current buffer as an
email message and searches the contents for an email address to be used
as envelope sender.
It examines the headers From
and Sender
, in this order and
it returns a single string representing the email address; if no
suitable address is found: it raises an error. The address is extracted
from the headers using the function selected by the customisable
variable sendmail-mbfl-extract-addresses-function
.
sendmail-mbfl-envelope-from/message
is an interactive wrapper for
sendmail-mbfl-envelope-from
that prints the result to the
*Message*
buffer.
sendmail-mbfl-envelope-to
interprets the current buffer as an
email message and searches the contents for email addresses to be used
as envelope receivers.
It examines the headers To
, Cc
and Bcc
and it
returns a list of strings representing email addresses; if no suitable
address is found: it raises an error. The addresses are extracted from
the headers using the function selected by the customisable variable
sendmail-mbfl-extract-addresses-function
.
sendmail-mbfl-envelope-to/message
is an interactive wrapper for
sendmail-mbfl-envelope-to
that prints the result to the
*Message*
buffer.
Extract a list of email addresses from the current buffer. It must be invoked with the buffer narrowed to the header to examine. Return a list of email addresses as strings, or nil if no address is found.
sendmail-mbfl-hostname
extracts, 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.
It returns a string representing the hostname else, if unable to
determine the hostname, it raises an error. The hostname is the
hostname part of the value returned by
sendmail-mbfl-envelope-from
.
sendmail-mbfl-hostname/message
is an interactive wrapper for
sendmail-mbfl-hostname
that prints the result to the
*Message*
buffer.
sendmail-mbfl-username
extracts, from the current buffer, the
username with which login to the SMTP server. The result is used as
search key in the selected authinfo file.
It returns a string representing the username else, if unable to
determine the username, it raises an error. The username is the
username part of the value returned by
sendmail-mbfl-envelope-from
.
sendmail-mbfl-username/message
is an interactive wrapper for
sendmail-mbfl-username
that prints the result to the
*Message*
buffer.
Next: sendmail script emacs misc, Previous: sendmail script emacs send, Up: sendmail script emacs [Contents][Index]