DoCmd.SendObject

C

ckrogers

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, , , "[email protected]", , , "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!
 
D

Dennis

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

ckrogers

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, , , "[email protected]", , , "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!
 
D

Dennis

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, , , "[email protected]", , , "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!
 
Top