AnsweredAssumed Answered

vrf Object Model Guard in Outlook

Question asked by VRFuser on Feb 20, 2008
> Is there someone who has a
> code for disabling Object
> Model Guard in Outlook?

Ah, the scourge of ATE the world over.

I get the impression there is *some* way to disable this, but I never did find a definitive answer on exactly how to do that.

Microsoft has this to say about the situation with the security included in Outlook SR-1/SR-1a (this of course also applies to all versions of Outlook since 98/2000 SR-1/SR-1a):

"Customizing the Behavior of the Security Update If you are not running Outlook in an Exchange Server environment, or your mail is delivered to a local Personal Folders file (.pst), you cannot configure the settings for the update and you must use the full feature set of the update."
(quote from http://support.microsoft.com/kb/262631/EN-US/)

So I think that pretty much kills it for most of us.

What you can do about it is install Express ClickYes to handle it.
http://www.contextmagic.com/express-clickyes

What this basically does is watch for the dialog to pop up and then automatically select things & click Yes. If you want the gory details I did something similar for ArBot. It's not pretty at all.

Here's another add in that controls this:
http://www.add-in-express.com/outlook-security/?ref1=adwords&ref2=adx3.outlo
okcode.osm&gclid=CNKt6Z-b5owCFRAFEgodOCD87A

On the other hand, you can avoid Outlook entirely by using CDO to access an SMTP server:
http://www.outlookcode.com/article.aspx?ID=52

The basic idea is:
"Set objMessage = CreateObject("CDO.Message") then fill-in Sender, Subject and Recipient (To) fields of the headers and the body text which can be either plain text or HTML. You can also add a file attachment. You then use the Send method to send the email."
(quoted from http://www.paulsadowski.com/WSH/cdo.htm)

Finally, you can roll your own MSA with To/From Socket although it can get fairly weird depending on what kind of authentication you have to support.
VEE comes with an example called SMTPMail (Help->Open Example...
Lib/SMTPMail.vee)

This one is mine and includes Pop3User auth (although in a real world scenario Pop3User auth is not the auth of choice):
ftp://ftp.vrfarchive.com/pub/VEEExamples/SMTP2[ver7].vee

NOTE: This works with *my* server, but that's only because I allow Pop3User authentication. APOP is much more common, and if you want to use that you'll have to write it yourself. You can use this to email just about anybody, but I don't guarantee it won't get bounced. Vrfarchive.com definitely won't reach comcast.net customers, and many other domains as well because they bounce servers that sit on Comcast dynamic IPs I don't really anticipate getting a static IP anytime soon.

AND - MOST IMPORTANTLY (APNIC USERS):
If this example account gets used for relaying spam then this is definitely the LAST TIME I'm doing anything of this nature. APNIC is a CONSTANT source of grievance, break in attempts and general abusive behavior. Play nice or don't play at all.
-SHAWN-




---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes