bypassing/disabling security message on call to send

  • Thread starter Thread starter HC
  • Start date Start date
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?
 
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
 
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
 
Back
Top