DoCmd.SendObject Fails

J

Jonathan Wood

I'm running Access 2007--I believe (the Help|About command has been pulled).

I have some VB code behind a form that was written many years ago and the
following line fails with some vague message about Access was unable to send
the email

DoCmd.SendObject acSendNoObject, , acFormatTXT, rsClients("Email"), ,
"<myemail>", "<mysubject>", sEmail, False

(Data enclosed in <> is replaced to hide real data. sEmail contains the body
of my email message.)

The only thing that I know of that has change since this code last worked is
that I've installed Windows 7 over my existing Vista installation

Is this a known issue?

Thanks.

Jonathan
 
J

Jonathan Wood

Douglas J. Steele said:
Do you have a default e-mail client defined?

I'm not clear on exactly what determines if I do or not, but I'm assuming I
do. I use Windows Live Mail.
 
J

Jonathan Wood

According to Windows Live Mail, it is both the default email and newsgroup
handler, as I pretty much assumed it was.
 

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