<?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>question Re: Trigger email alerts on processor failures in Nifi process group in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Trigger-email-alerts-on-processor-failures-in-Nifi-process/m-p/368246#M240110</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102433"&gt;@Jaimin7&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I am not quite sure how your SMTP Server is configured, but everywhere I have implemented the PutEmail processors, I needed 5 mandatory properties:&lt;/P&gt;&lt;P&gt;1) SMTP Hostname&lt;BR /&gt;2) SMTP Port&lt;BR /&gt;3) SMTP Username (even though in NiFi it is not a mandatory field, it was a mandatory field for the STMP to allow the connection)&lt;BR /&gt;4) SMTP Password (even though in NiFi it is not a mandatory field, it was a mandatory field for the STMP to allow the connection)&lt;BR /&gt;5) From.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cotopaul_0-1681226288437.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37249iF18B166363D52528/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cotopaul_0-1681226288437.png" alt="cotopaul_0-1681226288437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having all these fields configured, I was able to send email from NiFi without any restrictions. Of course, I made sure that the firewall connection between NiFi and the SMTP Server is allowing such connections &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 15:20:47 GMT</pubDate>
    <dc:creator>cotopaul</dc:creator>
    <dc:date>2023-04-11T15:20:47Z</dc:date>
    <item>
      <title>Trigger email alerts on processor failures in Nifi process group</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-email-alerts-on-processor-failures-in-Nifi-process/m-p/368226#M240104</link>
      <description>&lt;P&gt;I have a pipeline running on a daily basis, I wish to receive an email alert whenever any of the processor fails. I tried testing put email processor, I am receiving success flow files after PutEmail but email is not being generated despite entering correct SMTP details. Kindly suggest if I am missing on anything.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My nifi pipeline flow is as follows :&lt;/P&gt;&lt;P&gt;getMongo &amp;gt; flatteJson &amp;gt; evaluateJsonPath &amp;gt; attributeToJson &amp;gt; queryRecord &amp;gt; updateAttribute &amp;gt; PutS3&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;For eg : If I get an error in QueryRecord : column 'x' not found in list of columns. This failure alert should be sent on my email.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;PFB the properties I have used for configuration of PutEmail processor&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaimin7_0-1681219196604.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37247iF7FF724973E10098/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaimin7_0-1681219196604.png" alt="Jaimin7_0-1681219196604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaimin7_1-1681219234297.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37248i82B285E69AE2EBF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaimin7_1-1681219234297.png" alt="Jaimin7_1-1681219234297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 13:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-email-alerts-on-processor-failures-in-Nifi-process/m-p/368226#M240104</guid>
      <dc:creator>Jaimin7</dc:creator>
      <dc:date>2023-04-11T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger email alerts on processor failures in Nifi process group</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-email-alerts-on-processor-failures-in-Nifi-process/m-p/368246#M240110</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102433"&gt;@Jaimin7&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I am not quite sure how your SMTP Server is configured, but everywhere I have implemented the PutEmail processors, I needed 5 mandatory properties:&lt;/P&gt;&lt;P&gt;1) SMTP Hostname&lt;BR /&gt;2) SMTP Port&lt;BR /&gt;3) SMTP Username (even though in NiFi it is not a mandatory field, it was a mandatory field for the STMP to allow the connection)&lt;BR /&gt;4) SMTP Password (even though in NiFi it is not a mandatory field, it was a mandatory field for the STMP to allow the connection)&lt;BR /&gt;5) From.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cotopaul_0-1681226288437.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37249iF18B166363D52528/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cotopaul_0-1681226288437.png" alt="cotopaul_0-1681226288437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having all these fields configured, I was able to send email from NiFi without any restrictions. Of course, I made sure that the firewall connection between NiFi and the SMTP Server is allowing such connections &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 15:20:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-email-alerts-on-processor-failures-in-Nifi-process/m-p/368246#M240110</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-04-11T15:20:47Z</dc:date>
    </item>
  </channel>
</rss>

