Hello all,
I am working on a simple script to forward an email while changing the subject and setting the recipient. Currently the code works fine until it tries to send, where I get the error “Mail got an error: outgoing message id 67 doesn’t understand the “send””
Here is the code:
tell application "Mail"
set theSelection to selection
set theForwardedMessage to forward (item 1 of theSelection) with opening window
tell theForwardedMessage
make new to recipient with properties {address:"email@placeholder.com"}
activate
tell application "System Events" to tell process "Mail"
set value of text field 3 of window 1 to "Automator Workflow 12345 - AutoSaveAttachments"
end tell
send
end tell
end tell
Anyone have any idea as to why it doesn’t recognize the send command? It compiles and runs but breaks at that line.