![]() ![]() I can manually copy and paste the image into the email and it is fine. But still no image and still the red cross. I checked the IE settings that Bundaburra referred to and these are all as he suggests they should be. I copied and deleted the TIF then let Outlook 2016 recreate it no change. I hope this is enough for you to consider but I can provide more of the surrounding html code (there is a lot of it) if this will help. Users to those with the same problem though in the majority of cases these are Windows7 users. I have checked Windows10 registry entries and all correspond to advice given by forum I have tried this as above (where it worked fine with '2003) then with inserting ' marks:īut all I get on the resulting email is the the field of the specified dimensions but no image within it.Īs a result of researching this problem I have checked the settings of Outlook, of IE (though I am using Microsoft Edge and Chrome as the browsers) and Internet settings. ![]() Where lnkLogo is the path to the image: e:\foldername\image.jpg StrBody is a parameter passed from the calling routine where before and after execution of this routine is created further html code that provides other information about the transaction being emailed.įunction EmailDrivers(strDriverEmail as String, strSubject as String, strBody as String, blnDisplayMsg as Boolean) The following is the line of code that works well with Access 2003 passing to Outlook 2003: depending upon various factors about the recipient. I am creating a string of html code within the database, building it up with various elements from tables etc. There "GetPrivateMAPI" returns "olmapi32.dll" already with the first mail.Īs a workaround I now have moved the call to "UnLoadPrivateMAPI" to the ending of our program.Thanks Daniel, sorry I am new to this. I tested it for example with Outlook 2007. The problem did not occur with older Outlook versions. So for the second mail "GetPrivateMAPI" returns "olmapi32.dll" and this seems to cause the problem. "UnLoadPrivateMAPI" then unloads "msmapi.dll", but "olmapi32.dll" does not get unloaded automatically. During the sequence "olmapi32.dll" is also loaded into the process space. What happenes is that for the first mail "GetPrivateMAPI" returns "msmapi.dll". For the second mail the program stops after "MAPIInitialize" with a message box that Outlook has to be repaired. The very first mail is sent without problems. Our code calls this function sequence every time it sends a mail: I try to explain what I found out after further investigating. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |