473,396 Members | 1,895 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.

Sendmessage with CDO

Hi all,

I am having problems (again!) sending messages with SendObject.
I need to sent different mails with different attachments to only a few (about 6) people
On one computer it works, on another not (same app, same code).
The 'sick' computer seems to stop sending after the first mail.
Code is running without any warning or errors, but sending another mail only works after shutting down Access.
Using A2k here.

I am considering CDO but the main 'hesitation' is that users can not see that the mail has been sent indeed.
Also there is no possibility of having a copy of the mail like with OE (or am I missing things here?)
My users would like to see the mail (sort of a check that the attachment was the right one)
Also CDO needs a permanent connection to the Internet, Or ??

Any comments please.

Arno R
May 7 '07 #1
2 2827
"Arno R" <ar****************@planet.nlwrote in message
news:46***********************@text.nova.planet.nl ...
Hi all,

I am having problems (again!) sending messages with SendObject.
I need to sent different mails with different attachments to only a few (about
6) people
On one computer it works, on another not (same app, same code).
The 'sick' computer seems to stop sending after the first mail.
Code is running without any warning or errors, but sending another mail only
works after shutting down Access.
Using A2k here.

I am considering CDO but the main 'hesitation' is that users can not see that
the mail has been sent indeed.
Also there is no possibility of having a copy of the mail like with OE (or am I
missing things here?)
My users would like to see the mail (sort of a check that the attachment was the
right one)
Also CDO needs a permanent connection to the Internet, Or ??

Any comments please.
I usually provide a prompt where the user can opt to have the message BCC'd to
himself. About as good a solution as any. It provides proof that the message
was actually sent and it gives them a copy for their records.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
May 7 '07 #2

"Rick Brandt" <ri*********@hotmail.comschreef in bericht news:ns***************@newssvr22.news.prodigy.net. ..
"Arno R" <ar****************@planet.nlwrote in message
news:46***********************@text.nova.planet.nl ...
Hi all,

I am having problems (again!) sending messages with SendObject.
I need to sent different mails with different attachments to only a few (about
6) people
On one computer it works, on another not (same app, same code).
The 'sick' computer seems to stop sending after the first mail.
Code is running without any warning or errors, but sending another mail only
works after shutting down Access.
Using A2k here.

I am considering CDO but the main 'hesitation' is that users can not see that
the mail has been sent indeed.
Also there is no possibility of having a copy of the mail like with OE (or am I
missing things here?)
My users would like to see the mail (sort of a check that the attachment was the
right one)
Also CDO needs a permanent connection to the Internet, Or ??

Any comments please.
I usually provide a prompt where the user can opt to have the message BCC'd to
himself. About as good a solution as any. It provides proof that the message
was actually sent and it gives them a copy for their records.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Simple and good solution! Thanks!

Arno R
May 8 '07 #3

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

Similar topics

5
by: Mark Overstreet | last post by:
I am trying to click a button in another window and I have it's hWnd value so I was trying to use Send message. Here is my code but it doesn't work as expected... response =...
3
by: JSK | last post by:
Hi, As any one worked in VB.NET and made use of Sendmessage API? The Issue I am running into is how to pass pointers of Data Structures (UDT) to the SendMessage. I starting looking at "IntPrt"...
0
by: SamSpade | last post by:
In my C# library I have many SendMessages like the following: public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, ref PARAFORMAT2 pf2); I use this one like this:
3
by: Rob | last post by:
Hi all, I am having trouble converting the code below (found on http://vbnet.mvps.org/index.html?code/core/sendmessage.htm) into a format that will work using vb .NET. Can anyone have a look...
18
by: Lars Netzel | last post by:
Hello! Thanx to this newgroup I have finally, with the help of you guys, gotten this to work halfway.. but the final action is still not working, clicking the "Button2" thru SendMessage(). ...
3
by: Max M. Power | last post by:
When I use the SendMessage API I can sucessfully send and receive a user defined message. When I use the PostMessage API I can NOT sucessfully send and receive the same user defined message. ...
4
by: Abubakar | last post by:
Hi, My application has a lot of threads which at some point call SendMessage api passing it the handle of the gui window. The calls r a lot. My question is that should I call the SendMessage api...
22
by: SQACSharp | last post by:
I'm trying to get the control name of an editbox in another window. The following code set the value "MyPassword" in the password EditBox but it fail to return the control name of the EditBox. ...
1
by: Necromis | last post by:
Ok, I have gotten my head around things better regarding SendMessage and FindWindow functions. However, I am running into an issue with my code still. The program I am working with is EXTRA! by...
5
by: michelqa | last post by:
Hi, I need to call a lot of different native SendMessage to retreive informations from non managed application. Some win32 messages use struct pointer for lparam....how to create and...
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
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
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
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
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...
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,...

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.