Hello,
Thank you for your feedback.
1 : We use our internal smtp host
2 : Without going too far, it doesn't seem to me that
3 : Yes, we have entered a full address
4 : It is an internal address too
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.
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.
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.
------------------------------
Ludovic COTTEZ-ABRATE
------------------------------
Original Message:
Sent: 02-25-2022 19:46
From: Charles Kovacs
Subject: BluePrismScheduleMonitor send mail error
Hi Ludovic,
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.
A few questions:
1. Are you using smtp.office365.com as an SMTP server?
2. I presume multi-factor authentication is not enabled for this email account? Or if it is, an App Password is being used instead.
3. Is a full email address being entered in the "Email Username" field? eg. 'user@example.com' instead of just 'user'
4. Is the email recipient address part of another domain? or internal to the same org?
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?
------------------------------
Charles Kovacs
Developer Consultant
Blue Prism
America/Chicago
Original Message:
Sent: 02-25-2022 14:43
From: Ludovic COTTEZ-ABRATE
Subject: BluePrismScheduleMonitor send mail error
Hello,
I'm currently testing BluePrismScheduleMonitor version 1.0.2, which by the way is version 1.0.1 according to the details 😁
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"
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.
However we had modified the object code to use the "UseDefaultCredentials" property so that we didn't have to re-enter the password.
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."
Have you already identified the error?
------------------------------
Ludovic COTTEZ-ABRATE
------------------------------