Send Mail Message Text Transparent When Attaching File?

I'm wondering if this is a bug, when I try to send an email with an attachment using Send Mail Message, I end up with transparent text in my email. If there isn't an attachment it comes through fine with visible text.

Running the Keyboard Maestro 9.2 on Mojave and Big Sur.

If for some reason someone needs this in macro form please see here:

Send Mail Message.kmmacros (1.5 KB)

1 Like

Because Apple is irresponsible and consistently fails to fix their bugs over a span of years...

Keyboard Maestro's Mail action is AppleScript-based, so any problems lie with Apple.

Try it for yourself in an Execute an AppleScript action:

# Auth: Christopher Stone <>
# dCre: 2013/05/15 06:11
# dMod: 2016/02/04 23:46
# Appl: Mail
# Task: Make a new outgoing message example.
# Libs: None
# Osax: None
# Tags: @Applescript, @Mail, @Make, @New, @Outgoing, @Message, @Attachments
# Test: macOS Sierra – Mojave (text is _dark_ in Mojave).

set attachmentList to {alias ((path to home folder as text) & "test_directory:Apple_Mail_Attachments:Attachment 02.txt"), alias ((path to home folder as text) & "test_directory:Apple_Mail_Attachments:Attachment 01.txt"), alias ((path to home folder as text) & "test_directory:Apple_Mail_Attachments:Attachment 03.txt")}

set toName to "Robert A. Heinlein"
set toAddress to ""
set _sender to "H. Beam Piper <>"
set _subject to "Test Message"
set _body to "Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal."

tell application "Mail"
   set _msg to make new outgoing message with properties {subject:_subject, content:_body & return & return}
   tell _msg
      set visible to true
      make new to recipient at end of to recipients with properties {name:toName, address:toAddress}
      set sender to _sender
      repeat with theAttachment in attachmentList
         make new attachment with properties {file name:theAttachment} at after the last paragraph
      end repeat
   end tell
end tell



Ok thanks for the help!

1 Like