Envoyer en automatique depuis VBA Excel un mail à une liste de diffusion de Thunderbird
Bonjour,
J'ai créé une macro en VBA dans Excel qui envoie en automatique des mails avec un fichier rattaché en utilisant Thunderbird. Je voudrais utiliser une liste de diffusion existante dans Thunderbird qui a pour nom "Membres" . Si je met le mot Membres dans CC ou CCI, il me prépare bien le mail avec le nom de la liste mais lorsque je clique pour l'envoyer j'ai le message que ce n'est pas une adresse valide. Comment faire pour utiliser ce groupe de personnes?
Merci
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| cc = ""
Cci = "Membres"
sujet = "Fiche d'information "
body = "<HTM> ...
strcommand = "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird"
strcommand = strcommand & " -compose " & "to='" & destinataire & "'"
strcommand = strcommand & "," & "cc='" & cc & "'"
strcommand = strcommand & "," & "bcc='" & Cci & "'"
strcommand = strcommand & "," & "subject='" & sujet & "',format='1',"
strcommand = strcommand & "body='" & body & "'"
strcommand = strcommand & "," & "attachment=file:///" & fichierjoint |