bonjour,

j'essaye d'ajouter plusieurs pieces jointes avec outlook mais apres avoir essaye et chercher sur google impossible de trouver ce que je cherche...
bref, voici une parti de mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
            if (zipF)
            {
                string ext = "PDFs";
                string ext2 = "Merged PDF";
                String sSourceZip = AutoZipFileName(ext);
                String sSourceZip2 = AutoZipFileName(ext2);
                String sDisplayName = "MyZipAttachment";
                String sDisplayName2 = "MyZipAttachment2";
                Outlook.Attachment oAttachZip = OMailItem.Attachments.Add(sSourceZip, iAttachType, iPosition, sDisplayName);
                Outlook.Attachment oAttachZip2 =  OMailItem.Attachments.Add(sSourceZip2, iAttachType, iPosition, sDisplayName2);
 
            }
si qlq'un peut m'aider ça serait super sympa merci.
bonne journée