# SMTP Profile setting

**URL:** <https://forum.inductiveautomation.com/t/smtp-profile-setting/19528>\
**Category:** Ignition\
**Created:** [September 4, 2018, 7:07pm UTC](https://forum.inductiveautomation.com/t/smtp-profile-setting/19528 "2018-09-04T19:07:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_toghyani](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mr\_toghyani](https://forum.inductiveautomation.com/u/mr_toghyani)\
**Post date:** [September 4, 2018, 7:07pm UTC](https://forum.inductiveautomation.com/t/smtp-profile-setting/19528/1 "2018-09-04T19:07:09Z")

</div>

Hi All,

I am trying to add the email notification for alarms and I have created a SMTP profile with private email server (not google or yahoo and so on). The problem is all settings like username and password are correct and I can send and receive emails from the email account that I have used for this profile but it does not work for alarm notification. When I use " test" on SMTP profile test I will get the below error:

javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

How can I deal with this issue?

Thank you for your help in advance.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 4, 2018, 7:11pm UTC](https://forum.inductiveautomation.com/t/smtp-profile-setting/19528/2 "2018-09-04T19:11:25Z")

</div>

You’ll have to look at the logs from the private server. You haven’t provided enough information. There’s probably some encryption vs. password handling constraint that javax.mail isn’t handling for you.

---

<div class="post-metadata">

**Author:** ![mr\_toghyani](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mr\_toghyani](https://forum.inductiveautomation.com/u/mr_toghyani)\
**Post date:** [September 4, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/smtp-profile-setting/19528/3 "2018-09-04T19:18:57Z")

</div>

Unfortunately, I don’t have access to the mail server and it is supported by others. What must I exactly want from them to do? I have added the email account to my outlook and it works correctly as a regular email and I have checked all settings with my profile but it does not relay the emails to the destination addresses.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 4, 2018, 7:36pm UTC](https://forum.inductiveautomation.com/t/smtp-profile-setting/19528/4 "2018-09-04T19:36:07Z")

</div>

Try configuring it in thunderbird or some other standards-compliant mail client (outlook isn’t really) and use those settings. Also, try to expand the exception in your log to see if there’s a ‘caused by’ section with more details. According to the docs, [that exception](https://docs.oracle.com/javaee/7/api/javax/mail/AuthenticationFailedException.html) shouldn’t apply to simple connection problems.
