When you use the
SendObject macro action or the
SendObject Microsoft Visual Basic for Applications (VBA) method with the
EditMessage argument set to No, you may receive the following security warning message:
A program is trying to automatically send e-mail on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose No.
The
Yes button in the dialog box is disabled for several seconds, and then you can click
Yes. If you click
Yes, the e-mail message is sent. If you click
No, the message is not sent, and you may receive one of the following error messages:
Error message that is received with the SendObject macro action
Microsoft Office Access can't send this e-mail message. Before attempting to send an e-mail message from Microsoft Office Access, resolve the problem identified in the previous message, or configure your computer to send and receive e-mail messages.
Error message that is received with the SendObject VBA method
Run-time error '2293': Microsoft Office Access can't send this e-mail message.