<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using send email command with &amp;quot;\n&amp;quot; for a new line? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21370#M4589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi korns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two steps needs to be done...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First: change the "send email" command to use HTML as body (that will be new non-certified command, since you can't edit the original one).&lt;/P&gt;&lt;P&gt;You do it by: Search for this line and change it to "True" as follows:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;$mailMessage.IsBodyHtml = $True&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;insert this command to your workflow instead of the certified one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second: use this example for inserting a line break to the "additional text" tab:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;"NAS volume created: "+volume.name+"."+"&amp;lt;BR /&amp;gt;"+"In filer: "+$ArrayChosen+"."+"&amp;lt;BR /&amp;gt;"&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "&amp;lt;BR /&amp;gt;" in HTML format will do a line break every time (no once works and once doesn't)&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it and tell me what you think.&lt;/P&gt;&lt;P&gt;I changed it at my customers' and it works perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Solal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Feb 2014 01:58:34 GMT</pubDate>
    <dc:creator>solal</dc:creator>
    <dc:date>2014-02-08T01:58:34Z</dc:date>
    <item>
      <title>Using send email command with "\n" for a new line?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21358#M4586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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...&lt;/P&gt;&lt;P&gt;All of that data is built from "text between apostrophes" AND objects from previous commands in the workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I'm facing is that when I run a "preview", it shows the data that is about to be sent just fine.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks guy!&lt;/P&gt;&lt;P&gt;Solal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:56:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21358#M4586</guid>
      <dc:creator>solal</dc:creator>
      <dc:date>2025-06-05T05:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using send email command with "\n" for a new line?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21363#M4587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the new line separators "`n" between texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional Text = "WFA"+"`n"+"NetApp"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will send a mail with WFA and NetApp in different lienes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;Additional Text=WFA&lt;/P&gt;&lt;P&gt;NetApp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 17:44:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21363#M4587</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2013-08-06T17:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using send email command with "\n" for a new line?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21367#M4588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above example worked perfectly ... &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;"WFA"+"`n"+"NetApp"&lt;/SPAN&gt; ... but why do I find almost no other example uses function as expected. For example, why does this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"WORKFLOW PARAMETERS"+"`n"+"CLUSTER&amp;nbsp; VSERVER&amp;nbsp; SHARE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return this in the email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Consolas; font-size: medium;"&gt;Workflow executed by User = admin&lt;/P&gt;&lt;P style="color: #000000; font-family: Consolas; font-size: medium;"&gt;Additional Text = WORKFLOW PARAMETERS`nCLUSTER&amp;nbsp; VSERVER&amp;nbsp; SHARE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is different? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 18:47:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21367#M4588</guid>
      <dc:creator>korns</dc:creator>
      <dc:date>2014-02-07T18:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using send email command with "\n" for a new line?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21370#M4589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi korns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two steps needs to be done...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First: change the "send email" command to use HTML as body (that will be new non-certified command, since you can't edit the original one).&lt;/P&gt;&lt;P&gt;You do it by: Search for this line and change it to "True" as follows:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;$mailMessage.IsBodyHtml = $True&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;insert this command to your workflow instead of the certified one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second: use this example for inserting a line break to the "additional text" tab:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;"NAS volume created: "+volume.name+"."+"&amp;lt;BR /&amp;gt;"+"In filer: "+$ArrayChosen+"."+"&amp;lt;BR /&amp;gt;"&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "&amp;lt;BR /&amp;gt;" in HTML format will do a line break every time (no once works and once doesn't)&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try it and tell me what you think.&lt;/P&gt;&lt;P&gt;I changed it at my customers' and it works perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Solal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 01:58:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21370#M4589</guid>
      <dc:creator>solal</dc:creator>
      <dc:date>2014-02-08T01:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using send email command with "\n" for a new line?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21379#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's was good work Solal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 03:36:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Using-send-email-command-with-quot-n-quot-for-a-new-line/m-p/21379#M4590</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-02-10T03:36:51Z</dc:date>
    </item>
  </channel>
</rss>

