bypassing/disabling security message on call to send

H

HC

Based upon KB article 262701 and 262631 which cites

"Item.Send - When you run a program that uses the Outlook
object model to call the Send method, you receive a
warning message. This warning message tells you that a
program is trying to send mail on your behalf and asks if
you want to allow the message to be sent. The warning
message contains both a Yes and a No button, however, the
Yes button is not available until five seconds have
passed since the warning message appeared. You can
dismiss the warning message immediately if you click No.
When you click No, the Send method returns an E_FAIL
error in the C or C++ programming languages."

What are possible solutions to bypassing and disabling
this dialog box? Is there a registry setting? Or does
this require seperate programming?
 
K

Ken Slovak - [MVP - Outlook]

Yes, it's legal. I use it in some of my commercial products and so do
other people I know. Of course you must have a valid license for the
redistributable version of Redemption.

I haven't had problems like that, maybe show some of your code so we
can look it over. There are some funky things with any Extended MAPI
usage (Redemption is a COM wrapper for Extended MAPI) and Outlook 2002
without an Exchange email account in the profile, that comes because
they removed the separate MAPI spooler starting in Outlook 2002.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 
K

Ken Slovak - [MVP - Outlook]

You will need to use the MAPIUtils.DeliverNow method to actually send
the item. Also, in Outlook 2002 the use of DeliverNow is sort of
broken if you don't have Exchange in the profile. Dmitry mentions that
on his Web site.

I don't do C++ code so I can't comment further on the code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 

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

Top