Email an Addressbuch-Gruppe via AppleScript

Caipi

Caipi

Mitglied
Thread Starter
Dabei seit
21.06.2004
Beiträge
56
Reaktionspunkte
1
Servus zusammen,

ich möchte eine Email an eine Adressbuchgruppe schreiben, kann mir jemand sagen wie ich mein bestehendes Script anpassen muss?

Code:
tell application "Mail"
	activate
	set enabled of account "TESTAccount" to true
	set this_message to make new outgoing message with properties {subject:"TEST Subject", content:"TEST-Body"}
	tell this_message
		make new to recipient at beginning of to recipients with properties {name:"Name", address:"e@mail.de"}
		set visible of this_message to true
	end tell
	
	send this_message
end tell
 
Danke Dir!
 
Zurück
Oben Unten