# bug when setting auth method in config

**URL:** <https://forum.mautic.org/t/bug-when-setting-auth-method-in-config/10444>\
**Category:** Development\
**Created:** [April 23, 2018, 1:53pm UTC](https://forum.mautic.org/t/bug-when-setting-auth-method-in-config/10444 "2018-04-23T13:53:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kae-verens](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@kae-verens](https://forum.mautic.org/u/kae-verens)\
**Post date:** [April 23, 2018, 1:53pm UTC](https://forum.mautic.org/t/bug-when-setting-auth-method-in-config/10444/1 "2018-04-23T13:53:38Z")

</div>

in the config email page, I tested against the LOGIN method, and was able to send an email. I then saved this config.

when I tried sending a test email to a contact, it failed.

after a bit of digging, I found that when the config email page sent a test email, it authenticated with both LOGIN and PLAIN (and uses whichever works). This gave the impression that the selected auth method (LOGIN) works, even if it was actually PLAIN that worked.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forum.mautic.org/t/bug-when-setting-auth-method-in-config/10444/2 "2019-10-17T16:33:52Z")

</div>


