π Send Joget Emails with File Attachments Using BeanShell
Jogetμμ νμΌ μ²¨λΆκ° ν¬ν¨λ μ΄λ©μΌμ 보λ΄λ λ°©λ²μ μ€λͺ ν©λλ€.
Jogetμ λ΄μ₯ μ΄λ©μΌ λꡬλ₯Ό ν΅ν΄ μλ¦Ό μ΄λ©μΌμ λ³΄λΌ μ μμ§λ§, μΈλΆ μ΄λ©μΌ APIλ₯Ό νΈμΆνκ³ Joget λ΄λΆμμ μ λ‘λλκ±°λ μμ±λ νμΌμ ν¬ν¨ν΄μΌ νλ νλ‘μ νΈλ μμ΅λλ€. μ΄ λ¬Έμμμλ νμΌμ μ½κ³ Base64λ‘ λ³ννμ¬ JSON νμ΄λ‘λλ₯Ό μμ±νκ³ μΈλΆ APIλ‘ λ³΄λ΄λ λ°©λ²μ λ€λ£Ήλλ€. BeanShell Toolμ μ¬μ©νμ¬ μν¬νλ‘μ° λΉλμμ μ΄μ½λλ₯Ό νμ©ν μ μμ΅λλ€.
Describes how to send emails with file attachments in Joget.
Joget can send notification emails using its built-in email tool, but some projects require calling an external email API and including files uploaded or generated in Joget. This document outlines how to read a file, convert it to Base64, build a JSON payload, and send it to the external API. It demonstrates using the BeanShell Tool in the Workflow Builder for this purpose.