Cas: poste sans Outlook desktop (New Outlook = WebView2, pas de COM ; SMTP filtre firewall corp). Solution: PatchCenter genere un fichier .eml MIME que l'user telecharge puis double-clique -> s'ouvre dans son client mail par defaut (New Outlook, Outlook Web, Thunderbird, etc.) pour relecture + envoi manuel. - Endpoint POST /patching/import/pct-prevenance/download-eml: construit un MIMEMultipart alternative avec From/To/Cc/Subject/Date/Message-ID + body HTML (le meme que pour SMTP) Retourne 'message/rfc822' avec Content-Disposition attachment - UI Modal Prevenance PCT: nouveau bouton violet 'Telecharger .eml' a cote de Annuler + 'Envoyer (SMTP)'. Fetch + Blob + URL.createObjectURL + a.download pour declencher le download cote navigateur |
||
|---|---|---|
| .. | ||
| data | ||
| models | ||
| routers | ||
| scripts | ||
| services | ||
| static | ||
| templates | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| database.py | ||
| dependencies.py | ||
| main.py | ||