<?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: BluePrismScheduleMonitor send mail error in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54194#M923</link>
    <description>Hi!&amp;nbsp;&lt;BR /&gt;I'm testing new version &lt;STRONG&gt;1.1.0&lt;/STRONG&gt; and got some troubles.&amp;nbsp;&lt;BR /&gt;After configure connections and smtp setups, run exe and not works.&amp;nbsp;&lt;BR /&gt;When see the log I found this error:&lt;BR /&gt;&lt;BR /&gt;2022-07-03T15:36:42.7513834Z|INFO|Initiating&lt;BR /&gt;2022-07-03T15:36:42.7826332Z|INFO|Opening connection to database&lt;BR /&gt;2022-07-03T15:36:42.8138849Z|INFO|Database connection opened&lt;BR /&gt;2022-07-03T15:36:42.8295107Z|INFO|Querying database for misfired schedules&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2022-07-03T15:36:42.8295107Z|FATAL|'STRING_AGG' no es un nombre de función integrada reconocido.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Sintaxis incorrecta cerca de la palabra clave 'as'.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;2022-07-03T15:36:42.8295107Z|INFO|---------------------------&lt;BR /&gt;&lt;BR /&gt;This error not ocurrs in &lt;STRONG&gt;1.0.3,&lt;/STRONG&gt; so, there are some setup that I didn't check ? (I realised in 1.0.3 contains a folder with .dll file that 1.1.0 hasn't, may is it the cause?)&lt;BR /&gt;&lt;BR /&gt;Also, although 1.0.3 works fine sending mails, when I scheduled task every 5 minutes, it sends mail with the same result, including fails and error schedule that last mail.&lt;BR /&gt;&lt;BR /&gt;I hope you can helpme to resolve this.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;facundo cervin gomez&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sun, 03 Jul 2022 15:56:00 GMT</pubDate>
    <dc:creator>facundocervin_g</dc:creator>
    <dc:date>2022-07-03T15:56:00Z</dc:date>
    <item>
      <title>BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54186#M915</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm currently testing BluePrismScheduleMonitor version 1.0.2, which by the way is version 1.0.1 according to the details &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;When I try to send an email with the information, I get the following message "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP - Client was not authenticated to send anonymous mail during MAIL FROM" &lt;BR /&gt;&lt;BR /&gt;For testing the smtp object on blueprism using I think as in the BluePrismScheduleMonitor the .net SmtpClient class, we managed to send a mail with the same info.&lt;BR /&gt;&lt;BR /&gt;However we had modified the object code to use the "UseDefaultCredentials" property so that we didn't have to re-enter the password.&lt;BR /&gt;&lt;BR /&gt;I asked our exchange expert about the error and he said "This is normal! The problem is that the application did not authenticate itself before sending the email."&lt;BR /&gt;&lt;BR /&gt;Have you already identified the error?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ludovic COTTEZ-ABRATE&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2022 14:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54186#M915</guid>
      <dc:creator>lulu7712</dc:creator>
      <dc:date>2022-02-25T14:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54187#M916</link>
      <description>Hi Ludovic,&lt;BR /&gt;&lt;BR /&gt;Yes, the SmtpClient class is being used the same way in both the BluePrismScheduleMonitor and the SMTP VBO - which is set up for direct send.&lt;BR /&gt;&lt;BR /&gt;A few questions:&lt;BR /&gt;1. Are you using smtp.office365.com as an SMTP server?&lt;BR /&gt;2. I presume multi-factor authentication is not enabled for this email account? Or if it is, an App Password is being used instead.&lt;BR /&gt;3. Is a full email address being entered in the "Email Username" field? eg. 'user@example.com' instead of just 'user'&lt;BR /&gt;4. Is the email recipient address part of another domain? or internal to the same org?&lt;BR /&gt;&lt;BR /&gt;I have read that setting the SmtpClient.UseDefaultCredentials property to false is often all it takes to get it working. Is this how your customized SMTP VBO is configured?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charles Kovacs&lt;BR /&gt;Developer Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2022 19:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54187#M916</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2022-02-25T19:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54188#M917</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for your feedback.&lt;BR /&gt;&lt;BR /&gt;1 : We use our internal smtp host&lt;BR /&gt;2 : Without going too far, it doesn't seem to me that&lt;BR /&gt;3 : Yes, we have entered a full address&lt;BR /&gt;4 : It is an internal address too&lt;BR /&gt;&lt;BR /&gt;To complete, we tested the VBO SMTP object with (if we want to send an email with the email associated with the open session account without entering the password) or without the UseDefaultCredentials with success, we also entered the same info to test in BluePrismScheduleMonitor.&lt;BR /&gt;&lt;BR /&gt;I would say that the particularity is that in the VBO it asks us for a user/password in addition to the "From" parameter, necessary to authenticate with the System.Net.NetworkCredential before sending the email.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what I'm saying because I don't have the source code in front of me but I think it could be an idea.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ludovic COTTEZ-ABRATE&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 26 Feb 2022 13:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54188#M917</guid>
      <dc:creator>lulu7712</dc:creator>
      <dc:date>2022-02-26T13:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54189#M918</link>
      <description>Hi Ludovic,&lt;BR /&gt;&lt;BR /&gt;I have taken some time to look further into this issue. A proper v1.0.3 release is available for download now: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The notification component is refactored so Username and From fields are separate and UseDefaultCredentials is set to false. I wasn't able to recreate the error you are experiencing, but this new solution still passes my existing tests, just can't 100% confirm this is a sure fix for you. Regardless, looking forward to how it works if you give it a try. And to that end, the source code for the Schedule Monitor is also available should you find it necessary to fork - the download link is towards the bottom of the page linked above.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charlie Kovacs&lt;BR /&gt;Sr. Digital Exchange Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Austin, USA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2022 20:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54189#M918</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2022-03-07T20:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54190#M919</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for the correction, it does work now.&lt;BR /&gt;&lt;BR /&gt;Looking at the source code I have a question about the choice to query the "BPAScheduleLog" table based on the "firereason" field.&lt;BR /&gt;&lt;BR /&gt;To test this I ran a schedule with a 2 min occurrence without the resource being run, I can see the errors in the recent activities but in the [BPAScheduleLog] table the entries show me a "firereason" of 0. &lt;BR /&gt;&lt;BR /&gt;However, in the [BPAScheduleLogEntry] table I can see the errors.&lt;BR /&gt;&lt;BR /&gt;Do you know if this is a malfunction?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ludovic COTTEZ-ABRATE&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 11:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54190#M919</guid>
      <dc:creator>lulu7712</dc:creator>
      <dc:date>2022-03-23T11:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54191#M920</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I believe there are two ways in which a schedule might be considered a failure:&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;The schedule fails to fire at all&lt;/LI&gt;
&lt;LI&gt;The schedule fires but runs into a termination&lt;/LI&gt;
&lt;/OL&gt;
The Schedule Monitor tool is considering option number 1 - to determine instances where a schedule failed to fire at all. My understanding&amp;nbsp; is the [BPAScheduleLogEntry] table covers the second option by recording instances where the schedule successfully fired but ran into a termination.&lt;BR /&gt;&lt;BR /&gt;If I follow, it sounds like you are interested in having the Schedule Monitor report both scenarios (misfires and terminations). I think it would be a good idea, I will look into it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charlie Kovacs&lt;BR /&gt;Sr. Digital Exchange Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Austin, USA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54191#M920</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2022-03-23T15:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54192#M921</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for your feedback, indeed it explains the reason, for the second case I think it could interest many members &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ludovic COTTEZ-ABRATE&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54192#M921</guid>
      <dc:creator>lulu7712</dc:creator>
      <dc:date>2022-03-23T16:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54193#M922</link>
      <description>Hi Ludovic,&lt;BR /&gt;&lt;BR /&gt;I updated the Schedule Monitor recently so that it can detect both types of schedule failures we discussed previously in this thread. This will be version 1.1.0 here on the Digital Exchange if you are interested: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charlie Kovacs&lt;BR /&gt;Sr. Digital Exchange Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Austin, USA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2022 19:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54193#M922</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2022-05-11T19:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54194#M923</link>
      <description>Hi!&amp;nbsp;&lt;BR /&gt;I'm testing new version &lt;STRONG&gt;1.1.0&lt;/STRONG&gt; and got some troubles.&amp;nbsp;&lt;BR /&gt;After configure connections and smtp setups, run exe and not works.&amp;nbsp;&lt;BR /&gt;When see the log I found this error:&lt;BR /&gt;&lt;BR /&gt;2022-07-03T15:36:42.7513834Z|INFO|Initiating&lt;BR /&gt;2022-07-03T15:36:42.7826332Z|INFO|Opening connection to database&lt;BR /&gt;2022-07-03T15:36:42.8138849Z|INFO|Database connection opened&lt;BR /&gt;2022-07-03T15:36:42.8295107Z|INFO|Querying database for misfired schedules&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2022-07-03T15:36:42.8295107Z|FATAL|'STRING_AGG' no es un nombre de función integrada reconocido.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Sintaxis incorrecta cerca de la palabra clave 'as'.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;2022-07-03T15:36:42.8295107Z|INFO|---------------------------&lt;BR /&gt;&lt;BR /&gt;This error not ocurrs in &lt;STRONG&gt;1.0.3,&lt;/STRONG&gt; so, there are some setup that I didn't check ? (I realised in 1.0.3 contains a folder with .dll file that 1.1.0 hasn't, may is it the cause?)&lt;BR /&gt;&lt;BR /&gt;Also, although 1.0.3 works fine sending mails, when I scheduled task every 5 minutes, it sends mail with the same result, including fails and error schedule that last mail.&lt;BR /&gt;&lt;BR /&gt;I hope you can helpme to resolve this.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;facundo cervin gomez&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Jul 2022 15:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54194#M923</guid>
      <dc:creator>facundocervin_g</dc:creator>
      <dc:date>2022-07-03T15:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: BluePrismScheduleMonitor send mail error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54195#M924</link>
      <description>Hi Facundo,&lt;BR /&gt;&lt;BR /&gt;The query that the Schedule Monitor runs against the Blue Prism database includes a call to the built-in STRING_AGG() function. I see that is only available on SQL Server 2017 or later. I am adding a note to the documentation about that. Do you know what version of SQL Server you are using for your database?&lt;BR /&gt;&lt;BR /&gt;As for the duplicate email issue in v1.0.3, that could be a problem with the Schedule Monitor reading/writing its config file. It is hard to say without seeing the log file. You might try opening the config window and clicking the reset button on the Reset tab. The app uses the config file to remember its previous time-of-query and filters results as to not email the same schedule fail more than once.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charlie Kovacs&lt;BR /&gt;Sr. Digital Exchange Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Austin, USA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 15:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/BluePrismScheduleMonitor-send-mail-error/m-p/54195#M924</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2022-07-05T15:30:00Z</dc:date>
    </item>
  </channel>
</rss>

