sendobject is stuck in outlook

J

Jean-Paul

Hi,
I have this:

DoCmd.SendObject acSendReport, "Planningverslag", acFormatSNP, ........

in my code.
This sends a report to somebody.
This report however is send to outlook mailbox out.
I want it to be send immediatly, without me having to open outlook to
get it send.

But.... How?

Thanks
 
R

Rob Parker

Hi Jean-Paul,

You need to set the EditMessage parameter (it's the ninth one) in the
SendObject call to False. If you simply omit it, it defaults to True, and
Outlook will open the message to allow you to edit it.

You will likely still be presented with a message box saying that something
is trying to use Outlook to send a message, and will need to respond to
that. If you want to get rid of that too, have a look here:
http://www.dimastr.com/redemption/

HTH,

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

acFormatHTML 1
SendObject acXXXXXX use of varibles 2
Don't want to send mail 6
Send Email 2
more sendobject-problem info 5
Sendobject 8
sending mail from within access 9
Update Open Form 3

Top