*Access* Cannot send emails from form:

J

Jason

Run-time error '2293'
Access can't send a message for the reason stated in the preceding alert.
Resolve that problem and then send the message again.

There is no previous alert.

FullAddress = "TEST"
Line:
DoCmd.SendObject acSendNoObject, , , EmailAddress, , , "My subject",
FullAddress, True

Thanks,
J
 
J

Jason

even with the valid email address the last value must be false. If false -
it tries to send email. If true or not entered I get the error.
 
R

Rick Brandt

Jason said:
even with the valid email address the last value must be false. If
false - it tries to send email. If true or not entered I get the
error.

Well with true it tries to open an outgoing message window using your
default MAPI program, usually either Outlook or Outlook Express. Sounds
like that program might be where the problem is.
 
P

Pete D.

The reason I suggested fixing the name was part one, are you using outlook
or outlook express as client? Outlook express creates this error code under
automation. True/False isn't your problem but a symptom of another issue.
 
J

Jason

I'm using Outlook 2003
Pete D. said:
The reason I suggested fixing the name was part one, are you using outlook
or outlook express as client? Outlook express creates this error code under
automation. True/False isn't your problem but a symptom of another issue.
 
T

Tas Davies

I am having the same problem with a clients computer:

She is on Access 2000 and Outlook 2003

With a simple command:

DoCmd.SendObject , , , "(e-mail address removed)"

It errors with run-time error 2293??? I can't find a reference for this
error with this situation - ie. edit message set to True.

Any help would be greatly appreciated.
 
D

Douglas J. Steele

If you go to the Immediate Window (Ctrl-G), type ?AccessError(2293) and hit
Enter, you'll see that the error message is something along the lines of

can't send a message for the reason stated in the preceding alert.@Resolve
that problem, and then send the message again.@@1@@1

Do you get an error message before you get the 2293 error? If so, what is
it?
 
T

Tas Davies

Hi Doug,

I asked my client to do a repair install of Office 2003 and it fixed the
problem.

Guess the problem was in Outlook.

Anyway, all is good now.

Thanks
Tas
 
J

Jason

Could be - I'm not reinstalling as this is a fresh install a few weeks ago.
Also Outlook crashes when I use the right-click menus
 

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