特定のドメインから常にリモートイメージを読み込むようにMail.appを構成できますか?


8

たとえば、Gmailでオプションを選択する方法が気に入っていますAlways display images from allsongs@n.npr.org

Mail.appに同じことをさせる方法はありますか?HTMLメッセージでリモート画像を表示するためのグローバルオプションのみを見つけることができます。

回答:


3

簡潔な答え

これに特定のオプションはありません。ただし、ルールを定義してapplescriptを実行することはできます。

解決

  1. 以下のapplescriptを任意の名前で、必要なフォルダーに保存します。

  2. に移動してMail app > Preferences > RulesをクリックしますAdd Rule。新しい役割にtheRuleという名前を付け、リモートイメージを表示する条件を選択します。質問の場合、これはFrom>でなければなりませんallsongs@n.npr.org

    • またSender is in my Address Book、連絡先からのすべてのメールのリモート画像を表示するように選択することもできます。
  3. 下でPerform the following actions:セクションを選択Run Applescriptし、手順1で書いたファイルを選択します。

  4. ルールを保存します。

Applescript

--BEGINNING OF SCRIPT
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
activate
repeat with eachMessage in theMessages
open eachMessage
tell application "System Events" to tell process "Mail"
set loadButton to a reference to button 1 of UI element 1 of row 1 of table 1 of scroll area 1 of front window
if loadButton exists then click loadButton
end if
end tell
end repeat
end tell
end perform mail action with messages
end using terms from
--END OF SCRIPT

これは、メール7.3(OS X 10.9)では動作しません
コンラッド

弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.