Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This action sends a dynamic email. The NodeMailer SMTP transport details must be entered into your Profound.js configuration file or your Profound.js Spaces settings.json file in advance. The configuration property name

...

isĀ mailTransport.

...

From

Type or select the email address of the sender. Literal values should be enclosed in quotes. An email addresses can be plain: 'sender@server.com', or formatted: '"Sender Name" sender@server.com'.

To

Type or select the recipient email address. Literal values should be enclosed in quotes. For multiple recipients, provide a comma separated list or an array of recipients' email addresses.

Subject

Type in the email subject. You may use dynamic values.

HTML Message

Type in the email body. You may use dynamic values in the email message.

Other Options

Provide other NodeMailer options, such as 'text', 'cc', 'bcc', 'attachments', or 'replyTo', in the form of a JavaScript object. For example:

Code Block
{
  cc: 'someone@domain.com',
  attachments: [
    {   // send file on disk as an attachment
      filename: globals["productId"] + '.jpg',
      path: '/path/to/file.jpg' // stream this file
    }
  ]
}

...