Interface de programmation (API) - API pour interroger boite mail
... / API pour interroger boite mail
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 pour interroger boite mail

Von
ThomasB7
Erstellungsdatum 2025-05-05 16:44:16 in Interface de programmation (API)

Bonjour,

Il existe une API chez ovh qui permet d'intérroger une, ou plusieurs boites mails, pour faire une recherche dans les mails.
car imap_search sur certain boite vu la quantité de mails ca prend une plombe pour faire des recherches.

Donc je pensais que si une API permettait cela chez OVH, les recherches iraient peut-être plus vite...

Merci
Thomas.


5 Antworten ( Latest reply on 2025-05-06 08:53:22 Von
ThomasB7
)

Bonjour,

Il n'existe rien de tel, vous devez effectivement utiliser IMAP pour faire les opérations demandées.

Un serveur IMAP ne construit normalement pas d'index avec les mots de vocabulaire se trouvant dans vos divers e-mails stockés sur le serveur.

La recherche à partir d'éléments à trouver dans les e-mails nécessite donc de parcourir l'entièreté des messages.

Je vous recommande l'utilisation de logiciel client tel que Thunderbird, qui construit et maintient un tel index.

Bonjour, 

Merci, je vais continuer avec mon imap... :o)

Thomas.

En fait, les API de chez Ovh, c'est principalement pour intervenir avec les comptes ovh ?
dns, contact, adresse mail,... ?

Thomas