Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using "DoCmd.SendObject" for automatic mailing

Posted on 2003-12-11
5
Medium Priority
?
404 Views
Last Modified: 2009-12-16
Hi!
I use "DoCmd.SendObject ..." for automatic sending of mail.

It has however the disadvantage that for every mail, it
comes up a popup asking wether I want this mail to be sent or not, telling me that from somewhere in the
system there is some mysterious things going on.

How can I awoid this popup to occur?
Is there a setting somewhere?

Jan
0
Comment
Question by:skyberg
5 Comments
 
LVL 2

Expert Comment

by:bdbrown
ID: 9919828

Set [Edit Message] parameter to false. This should keep the mail from opening for edit before it is sent, however if this popup is an error message there may be something else wrong. What message is being displayed?

    DoCmd.SendObject acSendNoObject, , , sendTo, , , sendSubject, sendMsgText, False

dbd
0
 
LVL 3

Expert Comment

by:Jim_Bob_Joe
ID: 9920543
0
 
LVL 4

Expert Comment

by:Carl2002
ID: 9921015
You could try using setwarnings.false which should turn off all warning messages

Carl.
0
 
LVL 3

Accepted Solution

by:
Jim_Bob_Joe earned 400 total points
ID: 9921129
The only way to get round this is by using either ExpressClick Yes which sits in your system tray and waits for a Outlook Security bos and clicks yes on it for you. The problem with this is that if you get a virus that uses outlook to mail it will click yes for the security warnings.

That program can be found here
http://www.express-soft.com/mailmate/clickyes.html

The other option is as stated in my previous post.
0
 

Author Comment

by:skyberg
ID: 9923094
Wery good mr Jim Bob Joe.
Now I can call "ClickYes" directly from my program!
There is only one minus; how can I deactivate it?
Does the program (.exe) has a parameter.
By using no parameter, it is activated and one can see it in
the system tray, but how do I deactivate it from my program?

Jan
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question