Rien de plus simple:
Chaque méthode a sa technique, en effet, bien que le CDO soit la meilleure, elle est parfois compliquée à mettre en place, si tu me files ton fichier, le serveur smtp de ton fournisseur de boite mail et son port je te le paramètre.
La méthode 2 est bien documentée sur internet, si tu as outlook tu peux t'en servir,
Méthode 3
sub toto()
fsendthunderbird(Range("AO1"),"PG DEVELOPMENT","Salut ça va ?"
end sub
Public Function fSendThunderbird(strTo As String, strSubject As String, strBody As String)
'This function can be used to send an e-mail from Mozilla Thunderbird.
'The syntax for calling Thunderbird from a command line (DOS prompt) is:
'
'thunderbird -compose "mailto:somebody@somewhere?cc=address@provider&subject=hi&body=something"
'
Dim strCommand As String
strCommand = "C:\Program Files\Mozilla Thunderbird\thunderbird"
strCommand = strCommand & " -compose " & Chr$(34) & "mailto:" & strTo & "?"
strCommand = strCommand & "subject=" & Chr$(34) & strSubject & Chr$(34) & "&"
strCommand = strCommand & "body=" & Chr$(34) & strBody & Chr$(34)
strcommand = strcommand & "," & "attachment=file:///" & fichierjoint
Call Shell(strCommand, vbNormalFocus)
End Function