Hi!
At a client there is a problem on *some* computers with DoCmd.SendObject.
It fails with the error: 2046 - The command or action 'SendObject' isn't available now.
On the affected computers, the Access application runs in Access 2024 32bit on Windows 11 and they use Thunderbird v146 64bit as email client, which is working by itself.
At first I suspected that the bitness mismatch between Access and Thunderbird might be causing the problem.
However, ...
- according to MAPI documentation the MAPISendMail function is bitness independent.
- there is at least one computer with exactly this configuration where DoCmd.SendObject does work as expected.
Are there any suggestions to resolve the SendObject error or how to do further diagnostics?
Please do not suggest using alternative means to send the email as workaround.
CDO is not a suitable option here as most of the emails must be edited before sending.
I noticed @arnelgp 's alternative approach to send mail with Thunderbird. However, I would prefer using DoCmd.SendObject to be independent of a specific email client and installation folder. - I still would consider this approach if everything else fails.
At a client there is a problem on *some* computers with DoCmd.SendObject.
It fails with the error: 2046 - The command or action 'SendObject' isn't available now.
On the affected computers, the Access application runs in Access 2024 32bit on Windows 11 and they use Thunderbird v146 64bit as email client, which is working by itself.
At first I suspected that the bitness mismatch between Access and Thunderbird might be causing the problem.
However, ...
- according to MAPI documentation the MAPISendMail function is bitness independent.
- there is at least one computer with exactly this configuration where DoCmd.SendObject does work as expected.
Are there any suggestions to resolve the SendObject error or how to do further diagnostics?
Please do not suggest using alternative means to send the email as workaround.
CDO is not a suitable option here as most of the emails must be edited before sending.
I noticed @arnelgp 's alternative approach to send mail with Thunderbird. However, I would prefer using DoCmd.SendObject to be independent of a specific email client and installation folder. - I still would consider this approach if everything else fails.