# Type d'authentification SMTP non reconnu avec Office 365

**URL:** <https://meta.discourse.org/t/smtp-unrecognized-authentication-type-with-office-365/145830>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [Mars 27, 2020, 3:34 UTC](https://meta.discourse.org/t/smtp-unrecognized-authentication-type-with-office-365/145830 "2020-03-27T15:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![stuartiannaylor](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@stuartiannaylor](https://meta.discourse.org/u/stuartiannaylor)\
**Post date:** [Septembre 17, 2020, 9:20 UTC](https://meta.discourse.org/t/smtp-unrecognized-authentication-type-with-office-365/145830/9 "2020-09-17T21:20:15Z")

</div>

Bonjour,

Net::SMTP.start(smtp[:address], smtp[:port], ‘localhost’, smtp[:user\_name], smtp[:password], smtp[:authentication])  
rescue Exception =\> e

A été corrigé comme ci-dessus dans ma version actuelle, mais j’obtiens toujours la même erreur.

Erreur : 504 5.7.4 Type d’authentification non reconnu avec [smtp.office365.com](http://smtp.office365.com).

Quelqu’un a-t-il des idées ?

---

_[View the full topic](https://meta.discourse.org/t/smtp-unrecognized-authentication-type-with-office-365/145830)._
