Email SMTP Authentication error

1
0
-1

Hello,

I've created a process in Bonita BPM Studio. In my process, I have a human task where I've added the email connector and provided a username and password. The SMTP host and port are correct. During the process, a form is submitted and an email is supposed to be sent to an approver. However, this email is never sent. I've checked the logs and see AuthenticationFailedException error. I've checked multiple times to make sure the credentials are correct. What could be the issue?

Thank you.

Comments

Submitted by Michele.DuBose on Tue, 06/20/2023 - 21:54

The logs are not very helpful in determining the reason I'm getting this error, AuthenticationFailedException. Could someone assist in determining what could cause this issue other than password being incorrect?

Submitted by Dibyajit.Roy on Thu, 06/22/2023 - 19:39

Hello
Why are you passing Username and password in each email.
Usually the sender id is whitelisted on the exchange server. Any email coming from the sender email is not blocked and passed through.

Submitted by Michele.DuBose on Thu, 06/22/2023 - 19:50

Currently,

My SMTP server allows for open relay. That functionality is going away. Therefore, I have to provide a username and password. I would attach a screenshot of the configuration but not sure how.

Submitted by Michele.DuBose on Fri, 06/23/2023 - 16:37

Can I ping you to share a screenshot of my SMTP configuration in Bonita Studio?

Submitted by Dibyajit.Roy on Fri, 06/23/2023 - 17:35

sure , you can.
But i also need to do research as I am not familiar with SMTP authentication.
I would go through documentation.

Submitted by Dibyajit.Roy on Fri, 06/23/2023 - 17:52

have you checked this document
this says that you need to check the box that says SSL = true

https://documentation.bonitasoft.com/bonita/latest/process/messaging

Submitted by Michele.DuBose on Fri, 06/23/2023 - 20:01

I don't see in this document where it states I need to check the box that says SSL = true. I see under the connection Information section, it displays to check the box if SSL security authorization is required. I will test if checking the box fixes the issue.

Submitted by Dibyajit.Roy on Fri, 06/23/2023 - 20:40

My mistake , I read Authorization wrong as Authentication . My bad , sorry

Submitted by Michele.DuBose on Mon, 06/26/2023 - 21:02

I found this link below and it states, AuthenticationFailedException means authentication has failed...so either the password is wrong or you are behind a firewall (not recommended as it doesn't seem to work).

https://community.bonitasoft.com/questions-and-answers/help-me-smtp-conn...

My instance of Bonita is behind a firewall. Are there firewall rules that I can define? I cannot turn off the firewall.

Submitted by Dibyajit.Roy on Tue, 06/27/2023 - 18:35

You might need to check with Bonita Customer service Team.
Raise a case with Bonitasoft ( Only for Paid customers )

No answers yet.
Notifications