I tried to use the "Additional Text" tab in the send email command so I could send more information of what was done in the workflow, like: datastore name created, LUN ID and so on...
All of that data is built from "text between apostrophes" AND objects from previous commands in the workflow.
Since the output in additional text tab is long, I'm trying to insert a "\n" between the info parts, so the mail will be more readable.
The problem I'm facing is that when I run a "preview", it shows the data that is about to be sent just fine.
When executing the command, it says that the command is missing a From and Subject parameters. One can see that it actually does a new line break in the ps1 command, which causes the from and subject parameters after "additional text" not to be considered.
Do you have an idea about that or another way to send more info in an email command, using line breaks for readable email output?