I am trying to execute a DoCmd.SendObjec t 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. 7 4615
I would appreciate some assistance on this.
Could you please include some code that fills in the To field of the
DoCmd.SendObjec t? Usually people on this NG tend not to rely upon the
"it didn't work" kind of description but like to see the code that fails.
Pavel
Jay Bienvenu wrote: I am trying to execute a DoCmd.SendObjec t 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.
Pavel Romashkin <pa************ *@hotmail.com> wrote in message news:<3F******* ********@hotmai l.com>... Could you please include some code that fills in the To field of the DoCmd.SendObjec t?
DoCmd.SendObjec t , , acFormatTXT, "me@example.com ", "me@example.com ",
"me@example.com ", ".", strShortMessage
-- Jay Bienvenu
I don't see problems with the code, works just fine on my machine in
immediate window. What do you see in the message window that pops up
once the DoCmd.SendObjec t is executed? If To: field is blank, I'd
suspect a MAPI client problem.
I have experienced random message loss in Access 2000 and Outlook
Express 5.5 as MAPI client. However, Access 2002 worked fine with OE5.5
and 6. I read that people complain about OE MAPI implementation, so this
may be the problem if this is what you are using.
Pavel
Jay Bienvenu wrote: Pavel Romashkin <pa************ *@hotmail.com> wrote in message news:<3F******* ********@hotmai l.com>... Could you please include some code that fills in the To field of the DoCmd.SendObjec t?
DoCmd.SendObjec t , , acFormatTXT, "me@example.com ", "me@example.com ", "me@example.com ", ".", strShortMessage
-- Jay Bienvenu
Since it's pretty clear that there's nothing wrong with the code, how
can I fix the problem? How can I explain to the client what the
problem is and how to fix it?
Sorry for the late reply - I was away.
In your case the simplest solution seems to be to form the URL
programatically - I am not even sure why would you send a MAPI request
to an interpreter program like Yahoo Mail. Might as well talk straight
to IE.
As far as using OE with A2000, I don't even know what to recommend. I
read quite a bit on this subject, as I still can't get my own client's
DB to E-mail consistently fom A2000 and OE, and I think I will try to
use Outlook on their system to mail for me. Outlook (not Outlook
Express) is said to be a much better MAPI compatible than OE.
Pavel
Jay Bienvenu wrote: Pavel Romashkin <pa************ *@hotmail.com> wrote in message news:<3F******* ********@hotmai l.com>... I don't see problems with the code, works just fine on my machine in immediate window. What do you see in the message window that pops up once the DoCmd.SendObjec t is executed? If To: field is blank, I'd suspect a MAPI client problem.
I didn't think that it was anything wrong with the DoCmd.SendObjec t command itself. I use the Yahoo Mail program as my default email "client." It sends a URL to IE that goes to Yahoo Mail. When I issue this command in the Immediate window:
DoCmd.SendObjec t , , acFormatTXT, "me@example.com ", "me@example.com ", "me@example.com ", ".", "blah blah blah"
Yahoo Mail sends this to IE:
http://us.f96.mail.yahoo.com/ym/Comp....redir=ymmapi3
Notice there's nothing after "To=". However, if I type "mailto:me@exam ple.com" in the Address bar of IE, it produces this:
http://us.f96.mail.yahoo.com/ym/Co**....redir=ymmapi2
Clearly, the problem is in what's going from Access 2000 to Yahoo Mail.
I'll ask my client what version of Outlook he's using. Using Access 2002 isn't an option at this point. We are going to have to find a way to get around the problem, because as long as it does this, the solution doesn't work.
-- Jay Bienvenu This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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...
|
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
|
by: Tom Louchbaum |
last post by:
When I preview my Access 2000 Report it looks fine. When I Email the
report using
DoCmd.SendObject acSendReport, "Report", acFormatRTF, "To Address", , ,
"Subject", , False
the resulting attachment to the email consistently does not display all
of the lines it should in one of the GroupFooters. I am using the Print
event in the report to print lines multiple times in a groupfooter
depending on an integer set elsewhere in the VBA...
|
by: Richard Cleaveland |
last post by:
We have an Access 97 application which uses the DoCmd.SendObject method to
send emails when a command button is activated. Our standard email client
is Eudora.
On all but one machine we have no trouble establishing Eudora as the default
email client and having it work with Access. This other machine is a real
problem and I'm soliciting suggestions.
With the application open, and Internet explorer also open, if a "mailto" is
selected...
| |
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...
|
by: Salad |
last post by:
I am using Netscape 7.2 as the e-mail client. I can stuff the To, CC,
and BCC fields with valid recipients in my application. When I execute
the command SendObject I have the option to Edit or not edit the message.
If I set the Edit flag to True, the e-mail is presented to me with the
subject line, body text, and attachments all set to go. The problem is
that all recipient fields are blank.
If I set the Edit flag to false, it...
|
by: jerry.ranch |
last post by:
I collect information from my clients with an xls file
I import the xls data into my access table.
I don't have them put info directly into Access, because, despite the
drop downs I have for data validation in my xls sheet, some fields are
not suited to drops downs and there is some editing I have to do.
Its not a big deal, I do this maybe 20 times a week.
So on a tab in my form, I have a make request button which I want them
to be...
|
by: Nita |
last post by:
Hi,
I have no background in scripting (barr HTML) and need some help with hashing out a VB script for a database I'm working on.
What my goal is, is to have a single record of a form which is the current focus emailed as PDF to a recipient. I am using Access 2007 and have the export to PDF plugin.
The code I have currently got (see below) is successfully emailing a PDF to the recipient, however it is exporting all the records in the...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |