Versions Compared

Key

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

...

  1. Login to the portal https://NAMESPACE.pipeforce.net

  2. Navigate to LOW CODE → Workbench

  3. Select the node of your app or create a new one.

  4. Click the plus icon at the top of the tree.

  5. Name your Pipeline and Then Click Create

  6. The new property has been created, and the content editor was opened for you.

  7. Now copy and paste this content into the editor, and overwrite any existing data there by this:

Code Block
languageyaml
pipeline:
  - mail.send:
      to:"your@domain.tld"
      subject:"Test email"
      message:"This is a simple email, sent from a pipeline." 
  1. Replace your@domain.tld by your real email address.

  2. Click SAVE and then RUN to execute the pipeline.

10. After a while, you should have received an email similar to this, decorated with the default layout:

...

  1. As you can see, we did several changes in the pipeline:

  2. We added the parameter replyTo: "${@user.email()}". Its value will be replaced by the email address of the currently logged-in user, so the recipient can simply press the reply button to reply to this email.

  3. We added the parameter fromName: "${@user.displayName()}". Its value will be replaced by the display name of the currently logged in user.

  4. Finally, we added the PEL expression ${@date.now('dd.MM.YY, HH:mm')} to the email message, in order to display the current date and time dynamically inside the email.

  5. Click SAVE and then RUN.

  6. After a while you should receive an email similar to this:

image-20241202-123345.pngImage Added