473,396 Members | 1,676 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 3166
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

1
by: Shan | last post by:
Hi, I used the Internet Explorer browser version 6.0 to download and run .NET windows application. However, it only ran on the computer where the http server is residing on. It did not run on...
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...
3
by: jdph40 | last post by:
I'm using Access 97. In the OnClick event of a button I have the code below. I looks at txtEmail and sends an e-mail message without further action from the user (user does not have to click Send...
1
by: Maur | last post by:
Is it possible to create earlier runtime versions of Access applications using Office XP Developer Edition? Thanks in advance. Maur
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...
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...
1
by: tina2626 | last post by:
how can i pass textbox value to gridview using C#.net at runtime not using database values. i m hving textbox1 and gridview1. can anyone suggest me to do this coding in ASP.NET(C# language).
3
by: phill86 | last post by:
Hi I am using the following code to send an email from access via outlook automatically DoCmd.SendObject acSendReport, stDocName, acFormatRTF, "User", , , , , False
2
by: FreddieIT | last post by:
I have a database that I would like to print out 2 seperate documents, which I have done and I also want to e-mail the same 2 documents. I am using the SendObject function, but I can't seem to get...
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: 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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.