Hosted Exchange - API connecteur smtp exchange
... / API connecteur smtp exchange
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

API connecteur smtp exchange

Von
TeamO1
Erstellungsdatum 2018-09-25 22:50:52 (edited on 2024-09-04 13:15:22) in Hosted Exchange

Problème API connecteur SMTP exchange OVH

Sur conseils de OVH, nous avons migré la semaine dernière d'une offre mx plan vers une offre exchange private car elle propose un connecteur smtp dont nous avons besoin.
Nous arrivons bien à envoyer des mails avec le smtp actuel de chez ovh mais nous devons mettre en place un connecteur smtp qui passe par une entité certifiée.
Pour cela OVH m'a dit d'utiliser la documentation suivante (https://help.ovhcloud.com/csm/fr-exchange-send-connector?id=kb_article_view&sysparm_article=KB0060023) .

Tout se passe bien dans cette procédure:

-----------------------------------------------------
POST /email/exchange/{organizationName}/service/{exchangeService}/sendConnector

ME DONNE

{

function: "addSendConnector"
id: 125888805
status: "todo"
finishDate: null
todoDate: "2024-04-10T09:45:32+02:00"

}

----------------------------------------------------
GET email/exchange/{organizationName}/service/{exchangeService}/sendConnector

ME DONNE


[

56

]

----------------------------------------------

GET /email/exchange/{organizationName}/service/{exchangeService}/sendConnector/{id}

ME DONNE
{

taskPendingId: 0
port: 25
creationDate: "2024-04-10T09:45:32+02:00"
state: "ok"
id: 56
maxSendSize: 100
requireTLS: true
smartHost: "********.*******.****" (volontairement masqué pour ce message))
smartHostAuthMechanism: "none"
lastUpdateDate: null
displayName: "connecteursmtp"

}

------------------------------------------------
Ok jusque là

jusqu’à la ligne 'Configurer une adresse e-mail pour utiliser un connecteur d'envoi ' avec la commande:
PUT /email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}

voici le retour,

---------
null (écrit en rouge)
------------
comme si il y avait une erreur car le retour des autres commandes précédentes sort entre { } et pas en rouge.
Je cherche à savoir qui ce qui bloque pour sortir un retour en rouge et sans { }


- Mon hébergement/serveur est chez OVHcloud? offre exchange private recommandé par OVH la semaine derniere

Merci à tous par avance.


2 Antworten ( Latest reply on 2024-04-17 10:13:56 Von
TeamO1
)

Bonjour,

Vous avez bien complété l'appel API comme décrit dans la documentation ?

Si oui avez-vous testé l'envoi de mail ?

Cordialement, janus57

Bonjour et merci pour votre retour. oui j'ai bien suivi la doc.
l'appel API est la commande:
GET /email/exchange/{organizationName}/service/{exchangeService}/sendConnector/{id} ?????