Allowlist_external_dirs Formatting to actually work?

I’ve researched the forum and any other resource I can find and have spent days on this now so I’d like to ask for help.

I am running the current (2024NOV21) HA software on a raspberry Pi 3, nothing extra.

# in the Config.yaml

homeassistant:
  allowlist_external_dirs:
    - '/config/www/tmp/'
    
# in the Automation Script

action: notify.EMAILER
data:
  title: Driveway Email
  message: Driveway Email Photo
  target:
    - *******@gmail.com
  data:
       images: '/config/www/tmp/driveway.jpg'

# From Samba the path is = "\\192.168.1.***\config\www\tmp\driveway.jpg"

# ERROR RESPONSES I See that appear to generate when the script is run (The config.yaml appears valid and runs).

Cannot send email with attachment "" from directory "/" which is not secure to load data from. Only folders added to `allowlist_external_dirs` are accessible. See https://www.home-assistant.io/docs/configuration/basic/ for more information. 

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:287
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:39:22 PM (1 occurrences)
Last logged: 10:39:22 PM
[1665839720] remote_path_not_allowed 
Logger: homeassistant.components.script.1535472510804
Source: helpers/script.py:2032
integration: Script (documentation, issues)
First occurred: 10:39:22 PM (1 occurrences)
Last logged: 10:39:22 PM
GarageLightsOn: Error executing script. Err

or for call_service at pos 4: remote_path_not_allowed

Thanks in advance!
68hc11

action: notify.EMAILER
data:
  title: Driveway Email
  message: Driveway Email Photo
  target:
    - ******@gmail.com
  data:
    images:
      - /config/www/tmp/driveway.jpg

Blockquote

Okay so this came down to YAML formatting… I finally got it to work. Hope this may help someone in the future.

68hc11

homeassistant:
allowlist_external_dirs:
- “/config/www/tmp/”

Actually this is the solution, double quotes here…