Outlook Send Email
Outlook Send Email
Section titled “Outlook Send Email”Type: outlook-send · Package: Outlook Activities v1.0.0
Send an email via Outlook. Supports multiple recipients, copy (CC) and blind copy (BCC/BCC), body in plain text or HTML, and attachments. Useful for notifications, reports, confirmations.
How it works
Section titled “How it works”Compose and send the email using the session account (or the default account if there is no session). Recipients in to, cc, and bcc are separated with semicolons (;). If you give htmlBody, that is used instead of the plain text body. The attachments are local file paths.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
to | expression | Destinatario(s), separados por ;. |
subject | expression | Email subject. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | Outlook Connect session. If omitted, use the default account. |
cc | expression | Destinatarios en copia, separados por ;. |
bcc | expression | Destinatarios en copia oculta, separados por ;. |
body | expression | Cuerpo en texto plano. |
htmlBody | expression | Cuerpo en HTML (tiene prioridad sobre body). |
attachments | expression | List of file paths to attach. |
Example
Section titled “Example”Simple email:
Outlook Send Email to = "cliente@empresa.com" subject = = "Factura " + numeroFactura body = = "Adjuntamos su factura. Gracias." attachments = = arr("C:/facturas/" + numeroFactura + ".pdf")HTML email with copy:
Outlook Send Email to = = join(destinatarios, ";") cc = "supervisor@empresa.com" subject = "Reporte diario" htmlBody = = "<h1>Reporte</h1><p>Procesados: " + total + "</p>"Related activities
Section titled “Related activities”- Outlook Reply — reply to an existing email.
- Outlook Get Emails — read emails.