473,397 Members | 2,084 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,397 software developers and data experts.

DoCmd.SendObject leaves recipient field blank?

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.
Nov 12 '05 #1
7 4585
I would appreciate some assistance on this.
Nov 12 '05 #2
Could you please include some code that fills in the To field of the
DoCmd.SendObject? 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.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.

Nov 12 '05 #3
Pavel Romashkin <pa*************@hotmail.com> wrote in message news:<3F***************@hotmail.com>...
Could you please include some code that fills in the To field of the
DoCmd.SendObject?


DoCmd.SendObject , , acFormatTXT, "me@example.com", "me@example.com",
"me@example.com", ".", strShortMessage

-- Jay Bienvenu
Nov 12 '05 #4
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.SendObject 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***************@hotmail.com>...
Could you please include some code that fills in the To field of the
DoCmd.SendObject?


DoCmd.SendObject , , acFormatTXT, "me@example.com", "me@example.com",
"me@example.com", ".", strShortMessage

-- Jay Bienvenu

Nov 12 '05 #5
He's using 6.0.
Nov 12 '05 #6
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?
Nov 12 '05 #7
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***************@hotmail.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.SendObject 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.SendObject
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.SendObject , , 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@example.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

Nov 12 '05 #8

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

Similar topics

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...
3
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...
3
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:...
5
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...
4
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...
0
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",...
1
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...
1
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.