email using sendobject in access

L

Linda in Iowa

This code works great on my computer to open the email program and input the
email address, subject, and text:

DoCmd.SendObject acSendNoObject, , , Me!EMAIL, , , "subject text", "message
text"

when I run the program from someone else's computer I get an error message
about SendObject not available.

They get mail from MSN and Yahoo. Outlook Express is on the computer and
that is what I use, just don't think they use it. Could it be there isn't a
default email program on the computer? Can I set up Outlook Express to open
when the DoCmd. sendObject is run?
 
S

S.Clark

Probably a missing reference. Not sure which one, but check if any have the
word "MISSING:" in front of it.
 
T

Tony Toews [MVP]

Linda in Iowa said:
This code works great on my computer to open the email program and input the
email address, subject, and text:

DoCmd.SendObject acSendNoObject, , , Me!EMAIL, , , "subject text", "message
text"

when I run the program from someone else's computer I get an error message
about SendObject not available.

They get mail from MSN and Yahoo. Outlook Express is on the computer and
that is what I use, just don't think they use it. Could it be there isn't a
default email program on the computer? Can I set up Outlook Express to open
when the DoCmd. sendObject is run?

Chances are they've never run an email program at all including
Outlook Express so nothing as been configured as a default email
client. So ask them to run Outlook Express. Trouble is they will
then need an SMTP/POP3 email address somewhere. And if folks reply to
these sent emails they will need to check that email address
occasionally or forward email to another email account they use.

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top