# Email test issue

**URL:** <https://forum.inductiveautomation.com/t/email-test-issue/52471>\
**Category:** Ignition\
**Created:** [October 28, 2021, 4:59pm UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471 "2021-10-28T16:59:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik.i](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kartik.i](https://forum.inductiveautomation.com/u/kartik.i)\
**Post date:** [October 28, 2021, 4:59pm UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471/1 "2021-10-28T16:59:42Z")

</div>

Hello All,

Please help me figure this out I have all the email settings properly but still when I press for Test email I am getting the below error.

javax.mail.MessagingException: Could not connect to SMTP host: [smtp.gmail.com](http://smtp.gmail.com), port: 465;  
nested exception is:  
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Thanks,  
Kartik I

---

<div class="post-metadata">

**Author:** ![sbeauregard66](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sbeauregard66](https://forum.inductiveautomation.com/u/sbeauregard66)\
**Post date:** [January 4, 2022, 12:20am UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471/2 "2022-01-04T00:20:09Z")

</div>

Bump…

Hi there.

I am getting the same issue regardless of whether I use my ISP SMTP config, my Gmail SMTP config or my MSN Live SMTP Config.

I can use these same settings for all of the above in my home PLC and email without issue all using either SSL or TLS without issue on the same home network and the same gateway / DNS settings as Ignition.

BTW I’m currently using Maker edition at home.

I have tested with all AV and firewalls turn off and no difference.

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [January 4, 2022, 1:01am UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471/3 "2022-01-04T01:01:35Z")

</div>

As your post stands “Test”, this should be **only** applicable for testing. This is only advisable in dev enviroment.

Have you tried with port 587?  
Also, ones I had this problem and was my antivirus, I just completely disable all features.

Other verifications are:

- Enable forward IMAP

- In security: Allow less secure app ON

- Disable 2 steps verification for your account

---

<div class="post-metadata">

**Author:** ![sbeauregard66](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sbeauregard66](https://forum.inductiveautomation.com/u/sbeauregard66)\
**Post date:** [January 4, 2022, 1:48am UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471/4 "2022-01-04T01:48:32Z")

</div>

Hi.

I went through all my test settings and firewall/AV stuff again.

It was my AV which was blocking me.

I needed to disable the Scan SSL settings in the Mail Settings.

See below on how to do this in Avast

* * *

In the current settings, the SSL scanning option is now in the Geek Area settings.

To access this, open the Avast antivirus application \> click “Menu” in the top right corner \> click “Settings” \> click “Search” in the top right corner, or use the **ctrl** + **f** shortcut \> type in **geek:area** and press enter.

To find this specific setting in the Geek Area, click “Search” in the top right corner, or use the **ctrl** + **f** shortcut \> type **Mail** and select the “Mail Shield: Scan SSL connections” result.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [January 4, 2022, 2:01am UTC](https://forum.inductiveautomation.com/t/email-test-issue/52471/5 "2022-01-04T02:01:57Z")

</div>

Yes, AVs usually do this kind of stuff.  
Good that it’s working now.
