# Mautic - Email setting - Testing error

**URL:** <https://forum.mautic.org/t/mautic-email-setting-testing-error/23275>\
**Category:** Product Support\
**Created:** [March 24, 2022, 8:39pm UTC](https://forum.mautic.org/t/mautic-email-setting-testing-error/23275 "2022-03-24T20:39:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjxavier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kjxavier/32/7095_2.png) [@kjxavier](https://forum.mautic.org/u/kjxavier)\
**Post date:** [March 24, 2022, 8:39pm UTC](https://forum.mautic.org/t/mautic-email-setting-testing-error/23275/1 "2022-03-24T20:39:09Z")

</div>

**Your software**  
My Mautic version is: 4  
My PHP version is: 7.4

**Your problem**  
My problem is: Error while testing connection

Error:  
Unable to connect with TLS encryption Log data: ++ Starting Swift\_SmtpTransport \<\< 220 [hrinfo360.com](http://hrinfo360.com) ESMTP Postfix \>\> EHLO [hrinfo360.com](http://hrinfo360.com) \<\< [250-hrinfo360.com](http://250-hrinfo360.com) 250-PIPELINING 250-SIZE 30720000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING \>\> STARTTLS \<\< 220 2.0.0 Ready to start TLS !! Unable to connect with TLS encryption (code: 0)  
++ Starting Swift\_SmtpTransport \<\< 220 [hrinfo360.com](http://hrinfo360.com) ESMTP Postfix \>\> EHLO [hrinfo360.com](http://hrinfo360.com) \<\< [250-hrinfo360.com](http://250-hrinfo360.com) 250-PIPELINING 250-SIZE 30720000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING \>\> STARTTLS \<\< 220 2.0.0 Ready to start TLS !! Unable to connect with TLS encryption (code: 0)

Steps I have tried to fix the problem: Tried over youtube videos to find a negative resp.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 25, 2022, 9:25am UTC](https://forum.mautic.org/t/mautic-email-setting-testing-error/23275/2 "2022-03-25T09:25:00Z")

</div>


