Zio Ken,
se osservi attentamente il codice della funzione descritta nel link citato:
' Vedasi:
' https://answers.microsoft.com/it-it/msoffice/forum/msoffice_excel-mso_winother-mso_2010/inviare-mail-da-excel-con-thunderbird/7ca646e7-6fd8-40b4-9654-bdce12827727
Public Function fSendThunderbird()
'http://forums.mozillazine.org/viewtopic.php?t=399230&highlight=&sid=2c05f35f3050c34449d0c0deaf16621a
'http://kb.mozillazine.org/Command_line_arguments_-_Thunderbird
'http://email.about.com/od/mozillathunderbirdtips/qt/Send_an_Image_Inline_Without_Attaching_It_in_Thunderbird.htm
'http://kb.mozillazine.org/Creating_complex_mails_with_inline_images
Dim strCommand As String ' Command line to prepare Thunderbird e-mail
Dim strTo As String ' E-mail address
Dim strCC As String 'E-mail address
Dim strBcc As String 'E-mail address
Dim strSubject As String ' Subject line
Dim strBody As String ' E-mail body
Dim strAttachment As String 'Allegati
Const cFormato As Integer = 1 '1: HTML 2:Plain Text
strTo = "*** L'indirizzo di posta elettronica viene rimosso per motivi di privacy ***, *** L'indirizzo di posta elettronica viene rimosso per motivi di privacy ***"
strCC = "*** L'indirizzo di posta elettronica viene rimosso per motivi di privacy ***"
strBcc = "*** L'indirizzo di posta elettronica viene rimosso per motivi di privacy ***"
strSubject = "Test subject"
strAttachment = "C:\test.doc,C:\test.png"
strBody = "Linea 1<br>" _
& "Linea 2" & "<br>" _
& "Linea 3" & "<br>" _
& "<br>" _
& "Firma" & "<br>" _
& "<br>" _
& "Immagine 1 (remota)" & "<br>" _
& "<img src=""http://static.mozillazine.org/common/images/blimp.png"" moz-do-not-send=""true"">" _
& "<br>" _
& "Immagine 2 (locale)" & "<br>" _
& "<img src=""file:///c:/test.png"" moz-do-not-send=""true"">"
strCommand = "C:\Program Files\Mozilla Thunderbird\thunderbird.exe"
strCommand = strCommand & " -compose to='" & strTo & "'," _
& "cc='" & strCC & "'," _
& "bcc='" & strBcc & "'," _
& "subject='" & strSubject & "'," _
& "format='" & cFormato & "'," _
& "body='" & strBody & "'," _
& "attachment='" & strAttachment & "'"
Call Shell(strCommand, vbNormalFocus)
End Function
e la confronti con la porzione da te sviluppata, ove indichi la problematica sulla seconda immagine (in locale):
& "Immagine 1 (remota)" & "<br>" _
& "<img src=""http://static.mozillazine.org/common/images/blimp.png"" moz-do-not-send=""true"">" _
& "<br>" _
& "Immagine 2 (locale)" & "<br>" _
& "<img src=""file:///F:\logo.JPG"" moz-do-not-send=""true"">"
puoi notare che il codice HTML, ove si effettua la ricerca della immagine (img src)
& "<img src=""file:///F:\logo.JPG"" moz-do-not-send=""true"">"
impiega, nel path, la barra retroversa ("\", specifica del sistema operativo Windows) e non la semplice barra ("/", applicabile nei sistemi Unix-like e nei HTML File Paths).
Sostituisci il backslash ("\") nel forward slashes ("/") in base al percorso che deve essere soddisfatto (per accedere alla seconda immagine in locale) così, anche, come riportato nelle seguenti discussioni:
https://stackoverflow.com/questions/21728850/how-to-give-src-to-the-img-tag-in-html-from-the-system-drive
https://stackoverflow.com/questions/14489016/how-to-properly-reference-local-resources-in-html
https://stackoverflow.com/questions/15102122/img-src-on-local-computer
https://stackoverflow.com/questions/4090712/why-cant-i-do-img-src-c-localfile-jpg
https://www.outsystems.com/forums/discussion/27014/how-to-access-local-image-resources-on-file-system-from-a-html-code-in-outsystems/
A corollario si possono visionare i seguenti link, che trattano argomenti correlati, come:
- gestire i path dei file in HTML assoluti o relativi
https://www.w3schools.com/html/html_filepaths.as
http://www.pagetutor.com/html_tutor/missing.htm
http://www.homeandlearn.co.uk/WD/wds4p2.htm
- inserire oggetti diversi nel body della mail
https://stackoverflow.com/questions/25999201/add-signature-with-images-to-the-mail
https://www.excelforum.com/excel-programming-vba-macros/1134790-vba-copy-content-to-or-screenshot-to-thunderbird.html
https://stackoverflow.com/questions/47508927/sending-email-with-png-image-in-outlook-body-using-vba
https://stackoverflow.com/questions/8804238/how-to-ensure-that-images-embedded-in-html-emails-show-up
https://stackoverflow.com/questions/27544091/vba-email-embed-image-not-showing
https://stackoverflow.com/questions/25749538/vba-emailing-a-range-and-an-image
https://www.youtube.com/watch?v=GhiIM6GdKw
- invio mail con Thunderbird
http://kb.mozillazine.org/Command_line_arguments_-_Thunderbird
https://openclassrooms.com/forum/sujet/mail-insertion-d-un-image-64613
https://codes-sources.commentcamarche.net/source/31545-envoi-automatique-de-mail-avec-piece-jointe-en-vba-excel-word-ou-access-par-oulook-express-ou-modzilla-thunderbird-ou-d
https://developer.mozilla.org/it/docs/Web/HTML/Element/img