後で送信するようにスケジュールする必要があるメールがあります。iCal を使用して設定した時間に起動するように Apple スクリプトをスケジュールできることは知っていますが、機能するスクリプトを見つけることができませんでした。ただし、必ずしもこのようにする必要はありません。この問題の解決策に感謝します。
2587 次
3 に答える
0
これは、10.6.8のiCalでスクリプト実行アラームを使用して機能します
tell application "Mail"
activate
set mymail to make new outgoing message at the beginning of outgoing messages with properties {subject:"Triggered"}
tell mymail
make new to recipient at beginning of to recipients with properties {address:"first@email.com, second@email.com"}
set content to "hi"
end tell
--show message window (otherwise it's hidden)
set visible of mymail to true
--bring Mail to front
activate
send mymail
end tell
于 2012-09-14T11:21:26.150 に答える
0
outgoing message 1 doesn’t understand the send message
送信メッセージを送信しようとしたときのようなエラーも発生します。ただし、スクリプトから作成されたメッセージを参照することはまだ機能しているようです。
tell application "Mail"
set m to make new outgoing message with properties {subject:"subject", content:"content"}
tell m
make new to recipient at end of to recipients with properties {address:"jana@doe.com, john@doe.com"}
end tell
send m
end tell
Automator でカレンダー アラームを作成することもできます。
于 2012-09-14T09:01:59.037 に答える
0
Apple Mail のみを使用して、Automator を使用せずにこれを実現しました。
- カレンダーの任意の場所をダブルクリックして、イベントの作成を開始します。
- イベントに名前を付けます。これがメールの件名になります。
- メールを送信するイベントの日時を設定します。
- スケジュールに従って電子メールを送信する場合は、繰り返しの頻度と潜在的な終了日を選択します。
- については
alert
、 を選択しますCustom...
。
- を選択し
email
ます。連絡先アプリに連絡先カードを追加するように求められる場合があります。
- メールの送信先を選択し、時刻を に設定し
At Time Of Event
ます。を押しOK
ます。
- メモ、URL、または添付ファイルを追加することを選択できます。これらのオプションは試していませんが、送信された電子メールで引き継がれていると思います。
于 2019-12-20T18:02:58.357 に答える