Variable: org-link-from-user-regexp

org-link-from-user-regexp is a customizable variable defined in ol.el.gz.

Value

"\\<root@442b8c1791a3\\>\\|\\<root\\>"

Documentation

Regexp matched against the "From:" header of an email or Usenet message.

It should match if the message is from the user him/herself.

Aliases

org-from-is-user-regexp (obsolete since 9.3)

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defcustom org-link-from-user-regexp
  (let ((mail (and (org-string-nw-p user-mail-address)
		   (format "\\<%s\\>" (regexp-quote user-mail-address))))
	(name (and (org-string-nw-p user-full-name)
		   (format "\\<%s\\>" (regexp-quote user-full-name)))))
    (if (and mail name) (concat mail "\\|" name) (or mail name)))
  "Regexp matched against the \"From:\" header of an email or Usenet message.
It should match if the message is from the user him/herself."
  :group 'org-link-store
  :type 'regexp
  :safe #'stringp)