Jump to content

SMTP et IMAP avec office 365


Recommended Posts

Bonjour,

Je suis sur Presta 1.7.8.8 et lorsque j’essaie de configurer le SAV en imap ou les emails en smtp avec mon compte office 365 aucun des deux ne fonctionnent.

Voici l'erreur que j'ai en imap pour la partie SAV : [CLOSED] IMAP connection broken (server response)

J'utilise pourtant les informations de connexion communiquées par office :

Nom de serveur : outlook.office365.com
Port : 993
Méthode de chiffrement : TLS

 

Concernant la config des emails j’utilise également les infos fournissent par office, c'est à dire :

Nom de serveur : smtp.office365.com
Port : 587
Méthode de chiffrement : STARTTLS

HORS Prestashop ne gère pas le STARTTLS, j'utilise donc le chiffrement TLS mais ça ne fonctionne pas non plus.

Voici mon message d'erreur :

Erreur : veuillez vérifier votre configuration

Expected response code 250 but got code "554", with message "554 5.2.252 SendAsDenied; [email protected] not allowed to send as [email protected]; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message. 0.35250:25380000, 1.36674:01000000, 1.61250:00000000, 1.45378:02000000, 1.44866:00000000, 1.36674:7A000000, 1.61250:00000000, 1.45378:05000000, 1.44866:00140000, 1.36674:0A000000, 1.61250:00000000, 1.45378:16000000, 1.44866:6A1B0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:831B0000, 1.44866:58010000, 16.55847:6C0D0000, 17.43559:0000000030020000000000000000000000000000, 20.52176:140F4D990E0070201F000130, 20.50032:140F4D997E17101012000000, 0.53414:0201E265, 0.35180:FC110000, 255.23226:2F000000, 255.27962:7A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:03000136, 0.35250:5E120000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:4A000000, 1.36674:32000000, 1.61250:00000000, 1.45378:4F000000, 1.44866:01000000, 16.55847:C5000000, 17.43559:00000000B8030000000000000000000000000000, 20.52176:140F4D990E0070200A000E80, 20.50032:140F4D997E17101080000000, 0.53414:03000B67, 0.35180:00130000, 255.23226:85000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:0A004366, 4.21921:DC040000, 255.27962:FA000000, 255.1494:1F000430, 0.38698:46000000, 1.41134:46000000, 0.37692:86000000, 0.37948:86000000, 5.33852:00000000534D545000000000, 7.36354:010000000000010901040480, 4.56248:DC040000, 7.40748:010000000000010B01040480, 7.57132:000000000000000001040480, 4.39640:DC040000, 1.63016:32000000, 8.45434:49EB22D7996A4743A86189A0B1EEB93686000000, 1.46798:04000000, 5.10786:0000000031352E32302E363437372E3031343A414D38505230344D42373938353A31363630623765332D623938372D343231382D623132302D3162653038643039303734323A3330323436383A2E4E455420362E302E313600313636, 7.51330:56FB10954C6BDB083231382D, 0.39570:2D316265, 1.55954:0A000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:00000000, 1.56562:00000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:00000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 1.33010:32000000, 2.54258:DC040000, 255.1750:02018382, 255.31418:DF000000, 0.22753:0A001870, 255.21817:DC040000, 0.64418:E4000000, 4.39842:DC040000, 0.41586:02017482, 4.60547:DC040000, 0.21966:0B00F410, 4.30158:DC040000[EndDiagnosticData] [Hostname=xxx.outlook.com] "

 

Si quelqu'un a déjà rencontré ce problème et a réussi à configurer une adresse office 365 avec Prestashop, merci de votre aide

Link to comment
Share on other sites

Pas sûr que ce soit lié. C'est-à-dire que pour Gmail, vous avez maintenant besoin de clés API au lieu d'un mot de passe normal. Office a peut-être fait de même.

 

"https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online
"SMTP AUTH will still be available when Basic authentication is permanently disabled on October 1, 2022. The reason SMTP will still be available is that many multi-function devices such as printers and scanners can't be updated to use modern authentication. However, we strongly encourage customers to move away from using Basic authentication with SMTP AUTH when possible. Other options for sending authenticated mail include using alternative protocols, such as the Microsoft Graph API.""

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...