473,771 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DoCmd.SendObjec t returns Error 2287

Trying to send email from Access 97. It used to work properly on this
computer, but something has changed and it now returns Error 2287 from
this code snippet:

Sub test()
DoCmd.SendObjec t acSendNoObject, "", "", "va***@emailadd ress.com", "",
"", "Test message", "Hello there!"
End Sub

(the single-quote is a double-quote in the original.)

The email client is Pegasus mail. I recently installed a new version,
and that's probably the culprit, but when I check the Internet
Explorer "Internet Options", it properly lists Pegasus as the email
client. Furthermore, when I click a "mailto" link from my web browser,
it properly launches a new email message in Pegasus

Also, it works properly from my second computer that also uses
Pegasus. Both computers run the same instance of Pegasus from a shared
network folder.

--
ja************* *@telusTELUS.ne t
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
Jul 30 '06 #1
0 2038

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

Similar topics

7
4624
by: Jay Bienvenu | last post by:
I am trying to execute a DoCmd.SendObject command to produce an email message from Access 2000. The command produces the email message, but the To:, CC: and BCC: fields are blank. The subject field and content come across fine. I can verify that the information isn't leaving Access. My client is experiencing the same problem. I tried it on two different computers; same problem.
1
9926
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 take the Info in a html or word document and to use it as the body of the email message. Is this possible. How can I do this. Thanks Alfred
3
3787
by: Baz'noid | last post by:
Hi all, With the recent postal strikes here in the UK i'm trying to persuade access to email reports at the touch of a button. I've not been able to figure out how to filter the report - when i print a report via a button i have it filtering to just the customer and invoice on the form on screen, but when i email, it uses the customer details on screen for the email address but produces a separate HTML file for EVERY customer on the...
3
7832
by: Lauren Quantrell | last post by:
I get the prompt from Outlook Express when trying to send an e-mail using DoCmd.SendObject in MS Access2000: "A program is attempting to send the following e-mail message on your behalf:" To: <blank> Subject: The subject Would you like to send the message? SEND DO NOT SEND
0
2315
by: TR | last post by:
Hi, Just noticed something unusual. If I use Docmd.SendObject in Access 97, access will open up Lotus Notes to send the email. here is the code: DoCmd.SendObject , , , "SomeBody@Somewhere.com", , , "Subject Line", "Body Text", False If I use the same line of code in Access XP, the message is sent through Exchange. This is happening on the same machine (Win XP). Any ideas why Access97 will use Notes, and XP will use Exchange? Exchange...
4
8832
by: dszmauz | last post by:
I'd like to send a report to a distribution of email addresses. The distribution list is stored in Email.. How do I use the DoCmd.SendObject to send to a list? The command below isn't working: DoCmd.SendObject acReport, "Upcoming Week OT Report", "RichTextFormat(*.rtf)", Email., "", "", "Upcoming Week OT Report", "", False, ""
1
2226
by: bgreer5050 | last post by:
I am using Access 2000 and need a little help writing the code the proper way to do the following: I have a form with the following fields: "Requestor" and "RequestorEmailAddress" I have a subform with the following fields: "OpenPoNumber" I want to use the DoCmd.SendObject to send an email of the form to the
5
7600
by: neosam | last post by:
Hey all, I am not able to integrate these 2 actions in one command. What i am doing is... A button which sends a report with only specific data to a particular person (via outlook). I am able to filter the records using the where comand and i am able to send using the DoCmd.SendObject command. but only seperately. Is it possible to insert the where command in the DoCmd.SendObject syntax?? Thanks
2
9861
iBasho
by: iBasho | last post by:
Hi, I am trying to set up a notification email that would come to my email everytime users click on a command button in a form. I am using the DoCmd.SendObject command without actually sending any database objects. Private Sub Command107_Click() On Error GoTo Err_Command107_Click DoCmd.SendObject acSendNoObject, , , "email@email.com", , , "Test", "Email Test", , True Exit_Command107_Click: Exit Sub
0
9619
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.