Group:  Microsoft Outlook ยป microsoft.public.outlook.general
Thread: Item.Send

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Item.Send
Bill Howard 27.09.2006 11:53:02
I run a macro that outputs a report which is then e-mailed. In previous
versions of Outlook, this worked fine. In 2003, a message is displayed "A
program is trying to automatically send an e-mail message using Microsoft
Visual Application (VBA) command, Item.Send, from within Microsoft Outlook."

This effectively halts the email from being sent. Any idea how to disable
this interruption?

Many thanks,
Bill
Re: Item.Send
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 27.09.2006 12:06:34
See http://www.outlookcode.com/d/sec.htm for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Bill Howard" <Bill Howard[ at ]discussions.microsoft.com> wrote in message news:0260FDD8-DDA1-4663-84FB-5AE8E965BB76[ at ]microsoft.com...
[Quoted Text]
>I run a macro that outputs a report which is then e-mailed. In previous
> versions of Outlook, this worked fine. In 2003, a message is displayed "A
> program is trying to automatically send an e-mail message using Microsoft
> Visual Application (VBA) command, Item.Send, from within Microsoft Outlook."
>
> This effectively halts the email from being sent. Any idea how to disable
> this interruption?
>
> Many thanks,
> Bill
Re: Item.Send
"Roady [MVP]" <newsgroups_DELETE_[ at ]_DELETE_sparnaaij_NO_._SPAM_net> 27.09.2006 12:33:10
Depends on the rest of your code and where you initiated it. Note that this
security already exists natively in Outlook since Outlook 2002/XP and all
the previou sversions had a security update for it.

You should be able to program around it securily or use Redemption instead;
http://www.howto-outlook.com/redirect.asp?id=dmitry_redemption

It is best you continue this in outlook.program_vba since that is where the
developers hang out.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

-----
"Bill Howard" <Bill Howard[ at ]discussions.microsoft.com> wrote in message
news:0260FDD8-DDA1-4663-84FB-5AE8E965BB76[ at ]microsoft.com...
I run a macro that outputs a report which is then e-mailed. In previous
versions of Outlook, this worked fine. In 2003, a message is displayed "A
program is trying to automatically send an e-mail message using Microsoft
Visual Application (VBA) command, Item.Send, from within Microsoft Outlook."

This effectively halts the email from being sent. Any idea how to disable
this interruption?

Many thanks,
Bill


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net