Make sure that you either have Macros security turned off and/or that your
database is in a Trusted Location.
Try using SendObject in VBA code.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access
Co-author: "Access Solutions", published by Wiley
"adams171" <=?utf-8?B?YWRhbXMxNzE=?=> wrote in message
news:9936cda4-18fc-431e-a451-c677caf825db...
>I am on Windows 7 and using Office 2010. My e-mail program is Thunderbird
>3. When I attempt, via a macro, to "emaildatabaseobject" I receive a
>message stating the email was not sent. Clicking "ok" results in a message
>box showing the location the macro failed and an error code, 2293. If I
>run the same macro with the option to edit the message set to "Yes", the
>message and attachement pops up, I click send and the macro continues as it
>should. Changing the option to edit message to "No" casues it to fail. I
>am trying to send a .snp report, although the same thing happens with a
>pdf. I think it is security related, perhaps somehow related with Outlook,
>although I do not use that program for email. Thanks.
Arvin Meyer MCP, MVP MS-Access http://www.datastrat.com http://www.accessmvp.com http://www.mvps.org/access Co-author: "Access Solutions", published by Wiley