Wednesday, October 17, 2018

#1 2018-10-13 02:44:44 am

Rebewslin
Member
From:: Berlin. Germany
Registered: 2010-04-11
Posts: 23

Apple Mail only without signatures?

Hi,

I want to use my Signatures in Apple Mail (v12.0 in Mojave):

This script:

Applescript:

tell application "Mail"
   set MyMessage to (make new outgoing message with properties {subject:"MySubject", content:"MyContent", visible:true, message signature:"MySignatureName"})
end tell

gives me:

"„Mail“ hat einen Fehler erhalten: Klasse „outgoing message“ kann nicht erstellt werden." (German for: "Impossible to create class „outgoing message“"

Of course I've created a matching signature:

Applescript:

tell application "Mail" to get signatures

--> {signature "Standard" of application "Mail", signature "MySignatureName" of application "Mail"}

The dictionary for "Apple Mail" lists "message signature" as a property of the class "outgoing message". Without this property it runs.

It seems that it is a bug, isn't it?
Does anyone has a workaround? (Cant include the signature inside the content because I want to use a signature with pictures in it.)

Thanks!

Nils


Filed under: bug, signature, Apple Mail

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)