File: message.el.html

This mode provides mail-sending facilities from within Emacs. It consists mainly of large chunks of code from the sendmail.el, gnus-msg.el and rnewspost.el files.

Defined variables (173)

message-allow-no-recipientsSpecifies what to do when there are no recipients other than Gcc/Fcc.
message-alter-recipients-functionFunction called to allow alteration of reply header structures.
message-alternative-emailsRegexp or predicate function matching alternative email addresses.
message-archive-headerHeader to insert when you don’t want your article to be archived.
message-archive-noteNote to insert why you wouldn’t want this posting archived.
message-auto-save-directoryDirectory where Message auto-saves buffers if Gnus isn’t running.
message-beginning-of-lineWhether C-a goes to beginning of header values.
message-bogus-addressesList of regexps of potentially bogus mail addresses.
message-bogus-system-namesThe regexp of bogus system names.
message-cancel-hookHook run when canceling articles.
message-cancel-messageMessage to be inserted in the cancel message.
message-citation-line-formatFormat of the "Whomever writes:" line.
message-citation-line-functionFunction called to insert the "Whomever writes:" line.
message-cite-articles-with-x-no-archiveIf non-nil, cite text from articles that has X-No-Archive set.
message-cite-functionFunction for citing an original message.
message-cite-level-functionA function to determine the level of cited text.
message-cite-prefix-regexpRegexp matching the longest possible citation prefix on a line.
message-cite-reply-positionWhere the reply should be positioned.
message-cite-styleThe overall style to be used when yanking cited text.
message-cite-style-gmailMessage citation style used by Gmail. Use with ‘message-cite-style’.
message-cite-style-outlookMessage citation style used by MS Outlook. Use with ‘message-cite-style’.
message-cite-style-thunderbirdMessage citation style used by Mozilla Thunderbird.
message-completion-alistAlist of (RE . FUN). Use FUN for completion on header lines matching RE.
message-confirm-sendWhen non-nil, ask for confirmation when sending a message.
message-courtesy-messageThis is inserted at the start of a mailed copy of a posted message.
message-cross-post-defaultWhen non-nil ‘message-cross-post-followup-to’ will perform a crosspost.
message-cross-post-noteNote to insert before signature to notify of cross-post and follow-up.
message-cross-post-note-functionFunction to use to insert note about Crosspost or Followup-To.
message-cross-post-old-targetOld target for cross-posts or follow-ups.
message-default-charsetDefault charset used in non-MULE Emacsen.
message-default-headersHeader lines to be inserted in outgoing messages.
message-default-mail-headersA string of header lines to be inserted in outgoing mails.
message-default-news-headersA string of header lines to be inserted in outgoing news articles.
message-deletable-headersHeaders to delete if present and previously generated by message.
message-directoryDirectory from which all other mail file variables are derived.
message-distribution-functionFunction called to return a Distribution header.
message-dont-reply-to-namesAddresses to prune when doing wide replies.
message-draft-coding-systemCoding system to compose mail.
message-draft-headersHeaders to be generated when saving a draft message.
message-elide-ellipsisThe string which is inserted for elided text.
message-email-recipient-header-regexpRegexp matching headers that list email addresses.
message-encoded-mail-cacheAfter sending a message, the encoded version is cached in this variable.
message-exit-actionsA list of actions to be performed upon exiting after sending a message.
message-expand-name-databasesList of databases to try for name completion (‘message-expand-name’).
message-expand-name-standard-uiIf non-nil, use the standard completion UI in ‘message-expand-name’.
message-expiresNumber of days before your article expires.
message-extra-wide-headersIf non-nil, a list of additional address headers.
message-face-alistAlist of mail and news faces for facemenu.
message-fcc-externalize-attachmentsIf non-nil, attachments are included as external parts in Fcc copies.
message-fcc-handler-functionA function called to save outgoing articles.
message-field-fillersAlist of header names/filler functions.
message-fill-columnColumn beyond which automatic line-wrapping should happen.
message-followup-to-functionIf non-nil, function that should return a list of headers.
message-followup-to-noteNote to insert before signature to notify of follow-up only.
message-font-lock-keywordsAdditional expressions to highlight in Message mode.
message-forbidden-propertiesProperty list of with properties forbidden in message buffers.
message-form-letter-separatorSeparator for ‘message-send-form-letter’.
message-forward-as-mimeNon-nil means forward messages as an inline/rfc822 MIME section.
message-forward-before-signatureNon-nil means put forwarded message before signature, else after.
message-forward-decoded-pNon-nil means the original message is decoded.
message-forward-ignored-headersAll headers that match this regexp will be deleted when forwarding a message.
message-forward-included-headersIf non-nil, delete non-matching headers when forwarding a message.
message-forward-included-mime-headersWhen forwarding as MIME, but not using MML, don’t delete these headers.
message-forward-show-mmlNon-nil means show forwarded messages as MML (decoded from MIME).
message-from-styleSpecifies how "From" headers look.
message-generate-hashcashWhether to generate X-Hashcash: headers.
message-generate-headers-firstWhich headers should be generated before starting to compose a message.
message-generate-new-buffersSay whether to create a new message buffer to compose a message.
message-header-format-alistAlist used for formatting headers.
message-header-hookHook run in a message mode buffer narrowed to the headers.
message-header-setup-hookHook called narrowed to the headers when setting up a message buffer.
message-header-synonymsList of lists of header synonyms.
message-hidden-headersRegexp of headers to be hidden when composing new messages.
message-hierarchical-addressesA list of hierarchical mail address definitions.
message-ignored-bounced-headersRegexp that matches headers to be removed in resent bounced mail.
message-ignored-cited-headersDelete these headers from the messages you yank.
message-ignored-mail-headersRegexp of headers to be removed unconditionally before mailing.
message-ignored-news-headersRegexp of headers to be removed unconditionally before posting.
message-ignored-resent-headersAll headers that match this regexp will be deleted when resending a message.
message-ignored-supersedes-headersHeader lines matching this regexp will be deleted before posting.
message-indent-citation-functionFunction for modifying a citation just inserted in the mail buffer.
message-indentation-spacesNumber of spaces to insert at the beginning of each cited line.
message-insert-canlockWhether to insert a Cancel-Lock header in news postings.
message-interactiveNon-nil means when sending a message wait for and display errors.
message-kill-actionsA list of actions to be performed before killing a message buffer.
message-kill-buffer-on-exitNon-nil means that the message buffer will be killed after sending a message.
message-kill-buffer-queryNon-nil means that killing a modified message buffer has to be confirmed.
message-mail-alias-typeWhat alias expansion type to use in Message buffers.
message-mail-user-agentYour preferred package for composing and sending email when using message.el.
message-mailer-swallows-blank-lineSet this non-nil if the system’s mailer runs the header and body together.
message-make-forward-subject-functionList of functions called to generate subject headers for forwarded messages.
message-mark-insert-beginHow to mark the beginning of some inserted text.
message-mark-insert-endHow to mark the end of some inserted text.
message-max-buffersHow many buffers to keep before starting to kill them off.
message-mh-deletable-headersIf non-nil, delete the deletable headers before feeding to mh.
message-minibuffer-local-mapKeymap for ‘message-read-from-minibuffer’.
message-mode-field-menu
message-mode-hookHook run in message mode buffers.
message-mode-mapMessage Mode keymap.
message-mode-menuMessage Menu.
message-mode-syntax-tableSyntax table used while in Message mode.
message-newgroups-header-regexpRegexp matching headers that list groups.
message-openpgp-headerSpecification for the "OpenPGP" header of outgoing messages.
message-optionsSome saved answers when sending message.
message-post-methodMethod used to post news.
message-postpone-actionsA list of actions to be performed after postponing a message.
message-prune-recipient-rulesRules for how to prune the list of recipients when doing wide replies.
message-qmail-inject-argsArguments passed to qmail-inject programs.
message-qmail-inject-programLocation of the qmail-inject program.
message-recipients-without-full-nameMail addresses that have no full name.
message-replacement-charReplacement character used instead of unprintable or not decodable chars.
message-reply-headersThe headers of the current replied article.
message-reply-to-functionIf non-nil, function that should return a list of headers.
message-required-headersHeaders to be generated or prompted for when sending a message.
message-required-mail-headersHeaders to be generated or prompted for when mailing a message.
message-required-news-headersHeaders to be generated or prompted for when posting an article.
message-return-actionAction to return to the caller after sending or postponing a message.
message-screenshot-commandCommand to take a screenshot.
message-self-insert-commandsList of ‘self-insert-command’s used to trigger ecomplete.
message-send-actionsA list of actions to be performed upon successful sending of a message.
message-send-coding-systemCoding system to encode outgoing mail.
message-send-form-letter-delayDelay in seconds when sending a message with ‘message-send-form-letter’.
message-send-hookHook run before sending messages.
message-send-mail-functionFunction to call to send the current buffer as mail.
message-send-mail-hookHook run before sending mail messages.
message-send-mail-partially-limitThe limitation of messages sent as message/partial.
message-send-mail-real-functionInternal send mail function.
message-send-method-alistAlist of ways to send outgoing messages.
message-send-news-functionFunction to call to send the current buffer as news.
message-send-news-hookHook run before sending news messages.
message-send-rename-functionFunction called to rename the buffer after sending it.
message-sendmail-envelope-fromEnvelope-from when sending mail with sendmail.
message-sendmail-extra-argumentsAdditional arguments to ‘sendmail-program’.
message-sendmail-f-is-evilNon-nil means don’t add "-f username" to the "sendmail" command line.
message-sent-hookHook run after sending messages.
message-server-alistAlist of rules to generate "X-Message-SMTP-Method" header.
message-setup-hookNormal hook, run each time a new outgoing message is initialized.
message-shoot-gnksa-feetA list of GNKSA feet you are allowed to shoot.
message-signatureString to be inserted at the end of the message buffer.
message-signature-directoryName of directory containing signature files.
message-signature-fileName of file containing the text inserted at end of message buffer.
message-signature-insert-empty-lineIf non-nil, insert an empty line before the signature separator.
message-signature-separatorRegexp matching the signature separator.
message-signature-setup-hookNormal hook, run each time a new outgoing message is initialized.
message-simplify-subject-functionsList of functions taking a string argument that simplify subjects.
message-smileysA list of recognized smiley faces in ‘message-mode’.
message-strip-special-text-propertiesStrip special properties from the message buffer.
message-subject-re-regexpRegexp matching "Re: " in the subject line.
message-subject-trailing-was-ask-regexpRegexp matching "(was: <old subject>)" in the subject line.
message-subject-trailing-was-queryWhat to do with trailing "(was: <old subject>)" in subject lines.
message-subject-trailing-was-regexpRegexp matching "(was: <old subject>)" in the subject line.
message-subscribed-address-fileA file containing addresses the user is subscribed to.
message-subscribed-address-functionsSpecifies functions for determining list subscription.
message-subscribed-addressesSpecifies a list of addresses the user is subscribed to.
message-subscribed-regexpsSpecifies a list of addresses the user is subscribed to.
message-syntax-checksControls what syntax checks should not be performed on outgoing posts.
message-tab-body-functionFunction to execute when ‘message-tab’ (TAB) is executed in the body.
message-tool-barSpecifies the message mode tool bar.
message-unix-mail-delimiterRegexp matching the delimiter of messages in UNIX mail format.
message-unsent-separatorA regexp that matches the separator before the text of a failed message.
message-use-followup-toSpecifies what to do with Followup-To header.
message-use-idnaWhether to encode non-ASCII in domain names into ASCII according to IDNA.
message-use-mail-followup-toSpecifies what to do with Mail-Followup-To header.
message-user-fqdnDomain part of Message-IDs.
message-user-organizationString to be used as an Organization header.
message-user-organization-fileLocal news organization file.
message-user-pathIf nil, use the NNTP server name in the Path header.
message-wash-forwarded-subjectsNon-nil means try to remove as much cruft as possible from the subject.
message-wide-reply-confirm-recipientsWhether to confirm a wide reply to multiple email recipients.
message-wide-reply-to-functionIf non-nil, function that should return a list of headers.
message-yank-cited-prefixPrefix inserted on cited lines of yanked messages.
message-yank-empty-prefixPrefix inserted on empty lines of yanked messages.
message-yank-prefixPrefix inserted on the lines of yanked messages.

Defined functions (255)

message--alter-repeat-address(ADDRESS)
message--bbdb-query-with-words(WORDS)
message--cache-encoded(MAILBUF)
message--default-send-mail-function()
message--fold-long-headers()
message--image-part-string(TYPE IMAGE)
message--match-signature(LIMIT)
message--name-table(ORIG-STRING)
message--rotate-fixnum-left(N)
message--syntax-propertize(BEG END)
message--update-image-crop(TEXT IMAGE)
message--yank-media-image-handler(TYPE IMAGE)
message-add-action(ACTION &rest TYPES)
message-add-archive-header()
message-add-header(&rest HEADERS)
message-add-openpgp-header()
message-all-epg-keys-available-p()
message-all-recipients()
message-alter-recipients-discard-bogus-full-name(ADDRCELL)
message-beginning-of-header(HANDLE-FOLDED)
message-beginning-of-line(&optional N)
message-bogus-recipient-p(RECIPIENTS)
message-bold-region(START END)
message-bounce()
message-buffer-name(TYPE &optional TO GROUP)
message-buffers()
message-bury(BUFFER)
message-caesar-buffer-body(&optional ROTNUM WIDE)
message-caesar-region(B E &optional N)
message-cancel-news(&optional ARG)
message-canlock-generate()
message-canlock-password()
message-carefully-insert-headers(HEADERS)
message-change-subject(NEW-SUBJECT)
message-check(TYPE &rest FORMS)
message-check-element(TYPE)
message-check-news-syntax()
message-check-recipients()
message-checksum()
message-cite-original()
message-cite-original-1(STRIP-SIGNATURE)
message-cite-original-without-signature()
message-cleanup-headers()
message-clone-locals(BUFFER &optional VARSTR)
message-cross-post-followup-to(TARGET-GROUP)
message-cross-post-followup-to-header(TARGET-GROUP)
message-cross-post-insert-note(TARGET-GROUP CROSS-POST IN-OLD OLD-GROUPS)
message-delete-action(ACTION &rest TYPES)
message-delete-line(&optional N)
message-delete-not-region(BEG END)
message-disassociate-draft()
message-display-abbrev(&optional CHOOSE)
message-do-actions(ACTIONS)
message-do-auto-fill()
message-do-fcc()
message-do-send-housekeeping()
message-dont-send()
message-ecomplete-capf()
message-elide-region(B E)
message-exchange-point-and-mark()
message-expand-group()
message-fetch-field(HEADER &optional FIRST)
message-fetch-reply-field(HEADER)
message-field-value(HEADER &optional FIRST)
message-fill-paragraph(&optional ARG)
message-fill-yanked-message(&optional JUSTIFYP)
message-fix-before-sending()
message-flatten-list(TREE)
message-followup(&optional TO-NEWSGROUPS)
message-font-lock-make-cited-text-matcher(LEVEL MAXLEVEL)
message-forward(&optional NEWS DIGEST)
message-forward-make-body(FORWARD-BUFFER &optional DIGEST)
message-forward-make-body-digest(FORWARD-BUFFER)
message-forward-make-body-digest-mime(FORWARD-BUFFER)
message-forward-make-body-digest-plain(FORWARD-BUFFER)
message-forward-make-body-mime(FORWARD-BUFFER &optional BEG END)
message-forward-make-body-mml(FORWARD-BUFFER)
message-forward-make-body-plain(FORWARD-BUFFER)
message-forward-rmail-make-body(FORWARD-BUFFER)
message-forward-subject-author-subject(SUBJECT)
message-forward-subject-fwd(SUBJECT)
message-forward-subject-name-subject(SUBJECT)
message-generate-headers(HEADERS)
message-generate-new-buffer-clone-locals(NAME &optional VARSTR)
message-generate-unsubscribed-mail-followup-to(&optional INCLUDE-CC)
message-get-reply-headers(WIDE &optional TO-ADDRESS ADDRESS-HEADERS)
message-gnksa-enable-p(FEATURE)
message-goto-bcc()
message-goto-body(&optional INTERACTIVE)
message-goto-body-1(&optional INTERACTIVE)
message-goto-cc()
message-goto-distribution()
message-goto-eoh(&optional INTERACTIVE)
message-goto-fcc()
message-goto-followup-to()
message-goto-from()
message-goto-keywords()
message-goto-mail-followup-to()
message-goto-newsgroups()
message-goto-reply-to()
message-goto-signature()
message-goto-subject()
message-goto-summary()
message-goto-to()
message-headers-to-generate(HEADERS INCLUDED-HEADERS EXCLUDED-HEADERS)
message-hide-header-p(REGEXPS)
message-hide-headers()
message-idna-to-ascii-rhs()
message-idna-to-ascii-rhs-1(HEADER)
message-in-body-p()
message-indent-citation(&optional START END YANK-ONLY)
message-info(&optional ARG)
message-insert-citation-line()
message-insert-courtesy-copy(MESSAGE)
message-insert-disposition-notification-to()
message-insert-expires(DAYS)
message-insert-formatted-citation-line(&optional FROM DATE TZ)
message-insert-header(HEADER VALUE)
message-insert-headers()
message-insert-importance-high()
message-insert-importance-low()
message-insert-newsgroups()
message-insert-or-toggle-importance()
message-insert-screenshot(DELAY)
message-insert-signature(&optional FORCE)
message-insert-to(&optional FORCE)
message-insert-wide-reply()
message-insinuate-rmail()
message-is-yours-p()
message-kill-address()
message-kill-buffer()
message-kill-to-signature(&optional ARG)
message-mail(&optional TO SUBJECT OTHER-HEADERS CONTINUE SWITCH-FUNCTION YANK-ACTION SEND-ACTIONS RETURN-ACTION &rest _)
message-mail-alias-type-p(TYPE)
message-mail-file-mbox-p(FILE)
message-mail-other-frame(&optional TO SUBJECT)
message-mail-other-window(&optional TO SUBJECT)
message-mail-p()
message-mailto(&optional URL)
message-mailto-1(URL)
message-make-address()
message-make-caesar-translation-table(N)
message-make-date(&optional NOW)
message-make-distribution()
message-make-domain()
message-make-expires()
message-make-expires-date(DAYS)
message-make-forward-subject()
message-make-fqdn()
message-make-from(&optional NAME ADDRESS)
message-make-html-message-with-image-files(FILES)
message-make-in-reply-to()
message-make-lines()
message-make-mail-followup-to(&optional ONLY-SHOW-SUBSCRIBED)
message-make-message-id()
message-make-organization()
message-make-path()
message-make-references()
message-make-sender()
message-make-tool-bar(&optional FORCE)
message-mark-active-p()
message-mark-insert-file(FILE &optional VERBATIM)
message-mark-inserted-region(BEG END &optional VERBATIM)
message-match-to-eoh(LIMIT)
message-mode()
message-mode-field-menu(ARG1)
message-mode-menu(ARG1)
message-multi-smtp-send-mail()
message-narrow-to-field()
message-narrow-to-head()
message-narrow-to-head-1()
message-narrow-to-headers()
message-narrow-to-headers-or-head()
message-newline-and-reformat(&optional ARG NOT-BREAK)
message-news(&optional NEWSGROUPS SUBJECT)
message-news-other-frame(&optional NEWSGROUPS SUBJECT)
message-news-other-window(&optional NEWSGROUPS SUBJECT)
message-news-p()
message-next-header()
message-number-base36(NUM LEN)
message-options-get(SYMBOL)
message-options-set(SYMBOL VALUE)
message-output(FILENAME)
message-parse-mailto-url(URL)
message-pipe-buffer-body(PROGRAM)
message-point-in-header-p()
message-pop-to-buffer(NAME &optional SWITCH-FUNCTION)
message-position-on-field(HEADER &rest AFTERS)
message-position-point()
message-prune-recipients(RECIPIENTS)
message-read-from-minibuffer(PROMPT &optional INITIAL-CONTENTS)
message-recover()
message-reduce-to-to-cc()
message-remove-blank-cited-lines(&optional REMOVE)
message-remove-first-header(HEADER)
message-remove-header(HEADER &optional IS-REGEXP FIRST REVERSE)
message-remove-ignored-headers(B E &optional PRESERVE-MIME)
message-rename-buffer(&optional ENTER-STRING)
message-replace-header(HEADER NEW-VALUE &optional AFTER FORCE)
message-reply(&optional TO-ADDRESS WIDE SWITCH-FUNCTION)
message-resend(ADDRESS)
message-send(&optional ARG)
message-send-and-exit(&optional ARG)
message-send-form-letter(&optional FORCE)
message-send-mail(&optional _)
message-send-mail-function()
message-send-mail-partially()
message-send-mail-with-mailclient()
message-send-mail-with-mh()
message-send-mail-with-qmail()
message-send-mail-with-sendmail()
message-send-news(&optional ARG)
message-send-via-mail(ARG)
message-send-via-news(ARG)
message-sendmail-envelope-from()
message-set-auto-save-file-name()
message-setup(HEADERS &optional YANK-ACTION ACTIONS CONTINUE SWITCH-FUNCTION RETURN-ACTION)
message-setup-1(HEADERS &optional YANK-ACTION ACTIONS RETURN-ACTION)
message-setup-fill-variables()
message-shorten-1(LIST CUT SURPLUS)
message-shorten-references(HEADER REFERENCES)
message-sign-encrypt-if-all-keys-available()
message-signed-or-encrypted-p(&optional DONT-EMULATE-MIME HANDLES)
message-simplify-subject(SUBJECT &optional FUNCTIONS)
message-smtpmail-send-it()
message-sort-headers()
message-sort-headers-1()
message-split-line()
message-strip-forbidden-properties(BEGIN END &optional OLD-LENGTH)
message-strip-list-identifiers(SUBJECT)
message-strip-subject-encoded-words(SUBJECT)
message-strip-subject-re(SUBJECT)
message-strip-subject-trailing-was(SUBJECT)
message-subscribed-p()
message-supersede()
message-tab()
message-talkative-question(ASK QUESTION SHOW &rest TEXT)
message-tamago-not-in-use-p(POS)
message-text-with-property(PROP &optional START END REVERSE)
message-to-list-only()
message-toggle-image-thumbnails()
message-tokenize-header(HEADER &optional SEPARATOR)
message-unbold-region(START END)
message-unquote-tokens(ELEMS)
message-update-smtp-method-header()
message-use-alternative-email-as-from()
message-user-mail-address()
message-wash-subject(SUBJECT)
message-wide-reply(&optional TO-ADDRESS)
message-widen-and-recenter()
message-widen-reply()
message-with-reply-buffer(&rest FORMS)
message-y-or-n-p(QUESTION SHOW &rest TEXT)
message-yank-buffer(BUFFER)
message-yank-original(&optional ARG)

Defined faces (0)