DoCmd.SendObject

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
Does the recipient exist? Try sending an email from your Outlook to that
addy. If it kaks, then there's your reason.
 
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!
 
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!
 
Back
Top