Mail Sender

Send emails via SMTP

HOST

The SMTP mail server host name, such as smtp.gmail.com.

PORT

The SMTP port number, typically set to 465.

TLS/SSL

Whether the SMTP mail server requires TLS/SSL encryption.

USERNAME

The user name configured in the email server. The %FILENAME% variable can be included to insert the content of the TXT file with the filename named 'FILENAME' inside the workspace, achieving dynamic customization.

PASSWORD

Password for the account filled above. The %FILENAME% variable is also supported.

RECIPIENT

Recipients‘ addresses. If there are multiple recipients, they can be separated by commas, and the %FILENAME% variable is also supported: alice@example.com,bob@example.com,%contact%

CC

CC (Carbon Copy) addresses. Multiple addresses can be separated by commas, as mentioned above.

SUBJECT

Subject of the email, supporting %FILENAME% variable.

USE HTML

Whether the email template uses HTML syntax.

MAIL TEMPLATE

Email content template. If USE HTML is enabled, the template is using HTML syntax, otherwise, it's formatted in plain text. Supports the %FILENAME% variable: <h3>Dear %user%</h3> <p>Thanks for subscribing %serviceName% service.</p>

ATTACHMENT

Attach specified attachments. The format should be a regular expression string: invoice-[0-9]{3}\.jpg

LOW-CODE

Enable script editing. The input object contains the content filled out as described above, and you can make modifications here before sending it.

// Print the filled email content first and make modifications before sending
console.log(input)

input.bcc = 'archive@company.com'

--

We are dedicated to improving our content. Please let us know if you come across any errors, including spelling, grammar, or other mistakes, as your feedback is valuable to us! 🤖️⚡️

Last updated