DoCmd.SendObject

G

Guest

I'm trying to send a simple e-mail message when a button is pushed on a form.
Here's the code I'm using:

DoCmd.SendObject acSendNoObject, , , "(e-mail address removed)", , , "8D " &
Me![LogNumber], "8D ready for management review", False

I get the error message "Run-time error 2293: Microsoft Access can't send
this e-mail message."

Help, please!
 
G

Guest

Does the recipient exist? Try sending an email from your Outlook to that
addy. If it kaks, then there's your reason.
 
G

Guest

It's me! So, it absolutely exists.... It's an internet e-mail address ...
is that a problem?

Dennis said:
Does the recipient exist? Try sending an email from your Outlook to that
addy. If it kaks, then there's your reason.

ckrogers said:
I'm trying to send a simple e-mail message when a button is pushed on a form.
Here's the code I'm using:

DoCmd.SendObject acSendNoObject, , , "(e-mail address removed)", , , "8D " &
Me![LogNumber], "8D ready for management review", False

I get the error message "Run-time error 2293: Microsoft Access can't send
this e-mail message."

Help, please!
 
G

Guest

Try sending the email to yourself (I assume on your company's Exchange email
server), and see what that does.

ckrogers said:
It's me! So, it absolutely exists.... It's an internet e-mail address ...
is that a problem?

Dennis said:
Does the recipient exist? Try sending an email from your Outlook to that
addy. If it kaks, then there's your reason.

ckrogers said:
I'm trying to send a simple e-mail message when a button is pushed on a form.
Here's the code I'm using:

DoCmd.SendObject acSendNoObject, , , "(e-mail address removed)", , , "8D " &
Me![LogNumber], "8D ready for management review", False

I get the error message "Run-time error 2293: Microsoft Access can't send
this e-mail message."

Help, please!
 

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