Using Access VBA (MS Office Pro 2010) on 3 separate computers, all on Windows 10 with Auto Update turned on for both Windows and MS Office. Starting today, 2 of the computers started returning Error 2293 when using SendObject to attach a generated PDF to the email. The third computer does not show this error, and sends the email successfully with the attachment after displaying the draft Outlook email.
All three received Outlook 2010 Security Patch (KB4011273) today along with the other MS Office patches.
2 of the Outlooks are tied to the same email account, but only one of them is showing the error when sending. The third PC's Outlook is tied to a different email account, but also encounters the error.
DoCmd.SendObject acSendReport, "rInvoiceSE", acFormatPDF, tEmail, tCCEmail, , tSubject, tEmailBody, True
Sending an email from the Access app with no attachment (code below) does not encounter the same problem. The email displays correctly as a draft, then is sent when user clicks on Send.
With Email
.HTMLBody = tEmailBody
.Subject = tSubject
.To = tEmail 'recipient
.CC = tCCEmail ' office copy
'use this if you want to generate the message and show it to the user
.Display
'use this instead if you want the mail to be sent directly
' .Send
All 3 PCs have the same set of Access VBA Tool References, including the Microsoft Outlook 14.0 Object Library.
The VB scripts have been running successfully for over 3 years until today, so my suspicion is on the patch, but don't see any Settings differences between the 3 Outlook accounts.
Any suggestions where else to look for the possible cause?
All three received Outlook 2010 Security Patch (KB4011273) today along with the other MS Office patches.
2 of the Outlooks are tied to the same email account, but only one of them is showing the error when sending. The third PC's Outlook is tied to a different email account, but also encounters the error.
DoCmd.SendObject acSendReport, "rInvoiceSE", acFormatPDF, tEmail, tCCEmail, , tSubject, tEmailBody, True
Sending an email from the Access app with no attachment (code below) does not encounter the same problem. The email displays correctly as a draft, then is sent when user clicks on Send.
With Email
.HTMLBody = tEmailBody
.Subject = tSubject
.To = tEmail 'recipient
.CC = tCCEmail ' office copy
'use this if you want to generate the message and show it to the user
.Display
'use this instead if you want the mail to be sent directly
' .Send
All 3 PCs have the same set of Access VBA Tool References, including the Microsoft Outlook 14.0 Object Library.
The VB scripts have been running successfully for over 3 years until today, so my suspicion is on the patch, but don't see any Settings differences between the 3 Outlook accounts.
Any suggestions where else to look for the possible cause?