# SMTP Test email failure

**URL:** <https://forum.mautic.org/t/smtp-test-email-failure/20083>\
**Category:** Product Support\
**Created:** [July 6, 2021, 2:00pm UTC](https://forum.mautic.org/t/smtp-test-email-failure/20083 "2021-07-06T14:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aayan2010](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aayan2010/32/1237_2.png) [@aayan2010](https://forum.mautic.org/u/aayan2010)\
**Post date:** [July 6, 2021, 2:00pm UTC](https://forum.mautic.org/t/smtp-test-email-failure/20083/1 "2021-07-06T14:00:03Z")

</div>

**Your software**  
My Mautic version is: bitnami-mautic-3.3.3-5-r02-linux-debian-10  
My PHP version is: 7.3.28  
My Database type and version is: mysqlnd 5.0.12-dev

**Your problem**  
My problem is: I configured my AWS mautic instance with Microsoft SMTP and the test connection result is successful however when trying to send a test email getting the below error so please advise how to fix it?

These errors are showing in the log: Expected response code 354 but got code “503”, with message "503 5.5.1 Bad sequence of commands "

Steps I have tried to fix the problem: None
