473,396 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Runtime 2293 using SendObject

Hello, and thank you in advance for any and all assistance. I'm having a
problem. This code worked years ago, what am I doing wrong?

Private Sub SendeMail_Click()
DoCmd.SendObject acSendNoObject, , , [email], [CC], [BCC], [Subject], [Body],
True

End Sub

I get a Run-time '2293': Can't send a message for the reason stated in the
previous alert.
Resolve that problem, then send the message again.

There isn't a previous message...HELP!!!

Error, when I try and send email from Access 97.

Thanks

Michael
Nov 12 '05 #1
2 3746
Microsoft has a fix, but it didn't work either:

DoCmd.SendObject acReport, "Catalog", "RichTextFormat(*.rtf)", _
"<email address>", "", "", "This is a test", "", False, ""
formatting the text to rich text format, still get the 2293 error.

Michael
Nov 12 '05 #2
Lumpierbritches wrote:
Hello, and thank you in advance for any and all assistance. I'm having a
problem. This code worked years ago, what am I doing wrong?

Private Sub SendeMail_Click()
DoCmd.SendObject acSendNoObject, , , [email], [CC], [BCC], [Subject], [Body],
True

End Sub

I get a Run-time '2293': Can't send a message for the reason stated in the
previous alert.
Resolve that problem, then send the message again.

There isn't a previous message...HELP!!!

Error, when I try and send email from Access 97.

Thanks

Michael


I would put your program into debug-step mode and get the values for
each argument. Then I would create a new moduled and create variables
for each item and the values from the debug-stepping. Then enter your
DOcmd.Sendobject line and remove 1 argument and run. Keep removing
arguments until you don't get an error.

The other thing to try is to do a SendObject manually. Create a new
module and enter something like
DoCmd.SendObject acSendNoObject, , , "lu*****@test.com", , , "Test
Subject", "test Body", True

See what happens. It's possible one or more arguments are incorrect.


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bret Shortall | last post by:
Using the SENDOBJECT action command in a Macro works fine if you hard code in their email address. SENDOBJECT TO bret@emailaddress.com SUBJECT This is the Subject line...
1
by: Alfred | last post by:
Hi I am using access 2002 1.0 I want to email a word or html file using the docmd.sendobject The document must be send as a attachment. 2.0 Second I would like to tell the Docmd.Sendobject to...
2
by: Lumpierbritches | last post by:
Hello, and thank you in advance for any and all assistance. I'm having a problem. This code worked years ago, what am I doing wrong? Private Sub SendeMail_Click() DoCmd.SendObject...
5
by: Mark | last post by:
Hi All, Is there a way to (whilst using the sendobject command) use a query as the source of email addresses. I ask this because the list is constanly changing and I don't want to keep going into...
1
by: John Taylor | last post by:
I have finally got "SendObject" to work but now have a filter problem. I have a database set up that I generate orders and print them as a single page report. I've set up a filter so that when I...
2
by: Marcus | last post by:
Is there a way to have Access 2002 open a particular email client, when using DoCmd.SendObject? So far, Access simply opens the default email client that is set under Control Panel/Internet...
17
by: DP | last post by:
hi, is there a way to send an e-mail to a customer, using ms access?? or some kind of automated mail merge, so the user only has to review the body, and click send? ive got a customer table,...
2
by: John Taylor | last post by:
I have created a command button on a form that prints a filtered report and e-mails the report to three people when "clicked". The three email addresses are selected on the form by three combo...
14
by: ARC | last post by:
Hello All, I have a major application for quoting and invoicing that is written in Access 97 (both front and back ends). I have a user base of over 300 customers, and currently I don't require...
2
by: Owen Mac | last post by:
Hello everyone, Is it possible to use an email address from a table and/or query with the Sendobject Method. An email address from my form works fine...what I would like is the 'To:' section be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.