I am having issues with any attachment too using python. See below for a scripting shell example without and with attachment (Fails - RuntimeError: unable to convert python exception)
>>> plugin = indigo.server.getPlugin("com.indigodomo.email")
>>> props = {'emailTo': ‘********@mac.com', 'emailCC': '', 'emailBCC': '' , 'emailSubject': 'Test Email', 'emailAttachments': '', 'emailFormat': 'plain','emailMessage': 'Message Content' }
>>> plugin.executeAction("sendEmail", indigo.devices["smtp.mail.me.com"].id, props=props)
<indigo.Dict object at 0x1062ca5e0>
IN LOG:
Email+ Debug sendEmailAction errors = Item : (dict)
Email+ Debug sendEmailAction queueing message 'Test Email'
Email+ Debug smtp.mail.me.com: SMTP poll, 1 items in queue
Email+ sending email 'Test Email' to
'*******@mac.com' using smtp.mail.me.com
Email+ Debug smtp.mail.me.com: sending:
From:
*******@icloud.comSubject: Test Email
To:******@mac.com
Date: Sun, 25 Feb 2024 12:07:38 -0800
Message-ID: <170889165823.54964.587823607306139250@1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
>>> props = {'emailTo':
'********@mac.com', 'emailCC': '', 'emailBCC': '' , 'emailSubject': 'Test Email', 'emailAttachments': '/Library/Application Support/Perceptive Automation/Charts/Battery_Levels.png', 'emailFormat': 'plain','emailMessage': 'Message Content' }
>>> plugin.executeAction("sendEmail", indigo.devices["smtp.mail.me.com"].id, props=props)
Traceback (most recent call last):
File "<console>", line 1, in <module>
RuntimeError: unable to convert python exception
>>>
<NOTHING IN LOG>
<FILE Hierarchy of existing file is READ Everyone>