By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,060 Members | 1,893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,060 IT Pros & Developers. It's quick & easy.

Error Application-defined or object-defined error 287 when opening outlook in access

P: 8
After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, [Error Application-defined, or Object-defined error / 287]. I panic, so I try it on another computer and the same thing happened. After further investigation I realize that on both machine outlook wasn't set up yet, meaning no account existed. My only question is can that fact cause the error, because the code works perfectly in my machine.
Mar 31 '08 #1
Share this Question
Share on Google+
2 Replies


mshmyob
Expert 100+
P: 903
That could be the reason. That error has to do with not being able to access outlook by a number of reasons including permissions.

I am assuming you have Outlook on your machine and that is why it works.

cheers,

After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, [Error Application-defined, or Object-defined error / 287]. I panic, so I try it on another computer and the same thing happened. After further investigation I realize that on both machine outlook wasn't set up yet, meaning no account existed. My only question is can that fact cause the error, because the code works perfectly in my machine.
Mar 31 '08 #2

P: 8
Hey I finally realize what was wrong, for some reason, any code that attempts to access outlook from access will get the some error. I actually have to open up outlook when I first start window, then I can send the email without the error, I didn't notice this becuase I hadn't shut down my computer for about a month, only hibernated.
Apr 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.