<?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 EmailPreference setting in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141956#M12003</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm creating some resource groups using the PowerShell cmdlets but having some trouble with the "EmailPreference" parameter. the documentation says the possible values are "Always, Never, OnError, OnErrororWarning" but whatever value I specify it always sets the value to "Always".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is anybody else seeing the same issue or know if I need to pass it a specific object type rather than a string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ash&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:26:27 GMT</pubDate>
    <dc:creator>AshV</dc:creator>
    <dc:date>2025-06-04T13:26:27Z</dc:date>
    <item>
      <title>EmailPreference setting</title>
      <link>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141956#M12003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm creating some resource groups using the PowerShell cmdlets but having some trouble with the "EmailPreference" parameter. the documentation says the possible values are "Always, Never, OnError, OnErrororWarning" but whatever value I specify it always sets the value to "Always".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is anybody else seeing the same issue or know if I need to pass it a specific object type rather than a string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ash&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:26:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141956#M12003</guid>
      <dc:creator>AshV</dc:creator>
      <dc:date>2025-06-04T13:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: EmailPreference setting</title>
      <link>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141989#M12005</link>
      <description>&lt;P&gt;Below are the email notification related options:&lt;/P&gt;
&lt;P&gt;-EnableEmail&lt;BR /&gt;-EmailFrom &lt;BR /&gt;-EmailTo&lt;BR /&gt;-EmailPreference always&lt;BR /&gt;-EmailPreference never&lt;BR /&gt;-EmailPreference on_error&lt;BR /&gt;-EmailPreference ON_ERROR_OR_WARNING&lt;BR /&gt;-EnableEmailAttachment&lt;BR /&gt;-EmailSubject&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of snapcenter server you are using?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 09:13:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141989#M12005</guid>
      <dc:creator>pranjith</dc:creator>
      <dc:date>2018-08-09T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: EmailPreference setting</title>
      <link>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141990#M12006</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;pranjith,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using SnapCenter 4.0 P3.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will give it a go using "-EmailPreference ON_ERROR_OR_WARNING".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this works, looks like another error in the documentation. The SC 4.0 cmdlet reference (&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2840881" target="_self"&gt;link&lt;/A&gt;) only lists the the possible values as " Always, Never, OnError, OnErrorOrWarning." without the underscores, none of the examples use the -emailpreference parameter either.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will report back after further testing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 11:54:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141990#M12006</guid>
      <dc:creator>AshV</dc:creator>
      <dc:date>2018-08-09T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: EmailPreference setting</title>
      <link>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141995#M12008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;pranjith&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From my further testing, if i specify "on_error" or "on_error_or_warning" I get the following errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cannot bind parameter 'EmailPreference'. Cannot convert value "on_error_or_warning" to type&lt;BR /&gt;"SMCoreContracts.SmEmailNotificationPreference". Error: "Unable to match the identifier name on_error_or_warning to a&lt;BR /&gt;valid enumerator name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cannot bind parameter 'EmailPreference'. Cannot convert value "on_error" to type&lt;BR /&gt;"SMCoreContracts.SmEmailNotificationPreference". Error: "Unable to match the identifier name on_error to a valid&lt;BR /&gt;enumerator name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i specify "onerror" or "onerrororwarning" (as per documentation) I do not get an error and the Resrouce Group creates but with the email preference set to "Always"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 10:49:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/EmailPreference-setting/m-p/141995#M12008</guid>
      <dc:creator>AshV</dc:creator>
      <dc:date>2018-08-09T10:49:53Z</dc:date>
    </item>
  </channel>
</rss>

