UP | HOME

Org API

Table of Contents

Org-Mac-Message API functions (org-mac-message.el)

org-mac-message-get-links &optional select-or-flag

Create links to the messages currently selected or flagged in Mail.app. This will use AppleScript to get the message-id and the subject of the messages in Mail.app and make a link out of it. When select-or-flag is "s", get the selected messages (this is also the default). When select-or-flag is "f", get the flagged messages. The Org-syntax text will be pushed to the kill ring, and also returned.

org-mac-message-insert-flagged org-buffer org-heading

Asks for an org buffer and a heading within it, and replace message links. If heading exists, delete all <message://> links within heading's first level. If heading doesn't exist, create it at point-max. Insert list of <message://> links to flagged mail after heading.

org-mac-message-insert-link

Insert a link to the messages currently selected in Mail.app. This will use AppleScript to get the message-id and the subject of the active mail in Mail.app and make a link out of it.

org-mac-message-insert-selected

Insert a link to the messages currently selected in Mail.app. This will use AppleScript to get the message-id and the subject of the active mail in Mail.app and make a link out of it.

org-mac-message-open message-id

Visit the message with the given message-id. This will use the command open with the message URL.

Documentation from the http://orgmode.org/worg/ website (either in its HTML format or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.