Using AppleScript to send a file attachment with OSX Mail app…
I am using the script which can be found on the Apple web site to send a JPG file as a file attachment.
It appears to be intended for only sending text (or so I am guessing).
Part of that script is:
tell content
repeat with aFile in fileList
make new text attachment with properties {file name:fileAttachThis} at before the first word of the first paragraph
end repeat
end tell
It will display the JPG in the body of the email - that is great for my purpose.
But the following text gets placed into the email message and I’d like to not have it appear:
Any suggestions??
Thanks.