# SMTP connector not working

**URL:** <https://community.ofelia.com/t/smtp-connector-not-working/11615>\
**Category:** Q&A\
**Tags:** extensions\
**Created:** [12 September 2023 14:42 UTC](https://community.ofelia.com/t/smtp-connector-not-working/11615 "2023-09-12T14:42:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele.DuBose](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Michele.DuBose](https://community.ofelia.com/u/Michele.DuBose)\
**Post date:** [12 September 2023 14:42 UTC](https://community.ofelia.com/t/smtp-connector-not-working/11615/1 "2023-09-12T14:42:43Z")

</div>

Hello,&nbsp;

I've using an SMTP connector in my process where I provide a username and password.&nbsp; SSL is disabled.&nbsp; In my process, a form is submitted and an email is supposed to be sent. However, it's not working.&nbsp; Without the authentication, email works.&nbsp; Currently, my SMTP server accepts open relay. However, this is changing soon so I need to provide authentication in the Bonitasoft software.

In the logs this is what I see:&nbsp;

**&nbsp;AuthenticationFailedException error.**

**javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful**

I've performed the following steps in trying to resolve this issue:

- Reset account password
- Added windows firewall rule on server that host the Bonita application
- Turned off the windows firewall on server that host the Bonita application
- Disabled antivirus
- For username, tried the following: domain\username and username@domain.com
- Ran&nbsp;Send-MailMessage&nbsp;PowerShell&nbsp;scripts on&nbsp;server that host the Bonita application.&nbsp; This worked. However, sending emails from the software does not work

I'm stuck at this point.&nbsp; Please help me in finding a solution.

Thank you.
