Configuration CDO avec un compte exchange OVH
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.
Question

Configuration CDO avec un compte exchange OVH

by
Community Deleted user
Created on 2019-05-08 09:12:05 (edited on 2024-09-04 13:39:22) in E-mails et solutions Office

Bonjour,

Je rencontre des problèmes pour créer et envoyer un mail avec CDO en utilisant une adresse Exchange OVH. J'ai beau chercher sur le net, je ne trouve pas les bonnes configurations pour CDO (sendusing, smtpserver, ...). Je souhaite envoyer des mails par vba. Actuellement, je rencontre l'erreur "le transport a échoué dans sa connexion au serveur"...
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 20
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "ssl0.ovh.net"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "mdp"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

Pour le username, j'ai utilisé mon adresse et j'ai également tenté d'utiliser le GUID
Avez-vous des pistes, des liens? D'avance merci pour vos conseils.