...
Login to the portal https://NAMESPACE.pipeforce.net
Navigate to LOW CODE → Workbench
Select the node of your app or create a new one.
Click the plus icon at the top of the tree.
Name your Pipeline and Then Click
Create
The new property has been created, and the content editor was opened for you.
Now copy and paste this content into the editor, and overwrite any existing data there by this:
Code Block | ||
---|---|---|
| ||
pipeline: - mail.send: to:"your@domain.tld" subject:"Test email" message:"This is a simple email, sent from a pipeline." |
Replace
your@domain.tld
by your real email address.Click
SAVE
and thenRUN
to execute the pipeline.
10. After a while, you should have received an email similar to this, decorated with the default layout:
...
As you can see, we did several changes in the pipeline:
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.We added the parameter
fromName: "${@user.displayName()}"
. Its value will be replaced by the display name of the currently logged in user.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.Click
SAVE
and thenRUN
.After a while you should receive an email similar to this: