Hello,
I have a piece of code in MS Access to send an email through Outlook 2016 (locally on the same computer). It still works fine just a week ago. But today I get this error: Run-time error 2293: Microsoft Access can't send this e-mail message. I did not change anything on Access or Outlook except I notice that there is an security update on MS Office 2016 on 11/9/2021 (exactly is the day it still works fine). I have checked everything but no clues. Would that be a security thing change that avoid Access to send through Outlook? Please help!
Here is how I send the email:
canada_add = "xxxxx"
strSubject = "xxxxx"
strBody = "Hello, xxxxx"
blnDisplayMsg = True
DoCmd.SendObject acSendReport, "invoice-can", acFormatPDF, canada_add, , , strSubject, strBody, blnDisplayMsg
Thanks