send_local_file
Attach a local server file to an email and send it via SMTP. Derives subject and body from the filename when not specified.
Instructions
Liest eine lokale Datei vom Server-Dateisystem und verschickt sie als E-Mail-Anhang via SMTP. Betreff und Text-Body sind optional und werden aus dem Dateinamen abgeleitet, wenn nicht angegeben.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC-Empfänger (optional, kommagetrennt). | |
| to | Yes | Empfänger-Adresse(n), kommagetrennt bei mehreren. | |
| bcc | No | BCC-Empfänger (optional, kommagetrennt). | |
| from | No | Absender-Adresse (optional, Standard: konfigurierter SMTP-Absender). | |
| text | No | Text-Body der E-Mail (optional). | |
| subject | No | Betreff (optional, Standard: Dateiname). | |
| file_path | Yes | Absoluter oder relativer Pfad zur Datei auf dem Server-Dateisystem. |