Re: Force user to use outlook and custom organizational form

From: hint (legend_hint_at_yahoo.com)
Date: 02/17/04


Date: 16 Feb 2004 19:56:08 -0800


"Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:<##0ccsj8DHA.2560@TK2MSFTNGP09.phx.gbl>...
> In no particular order:
>
> You can get the server name of the Exchange server, but not with the
> OOM. You need to use CDO 1.21, EX MAPI or Redemption for that. Sig has
> a sample to show how to get the home server using a MAPI property tag
> with CDO code at www.cdolive.com/cdo5.htm
Thanks, I'll be indulging myself with the samples :)

>
> The security form can be used to grant permissions for various
> accesses to properties and methods of either the OOM or CDO 1.21. You
> can grant those permissions to various users or groups of users.
> There's an explanation of that and a list of the various other options
> you have for avoiding the security prompts and administering the
> security form at
> http://www.slipstick.com/outlook/esecup/admin.htm#autosec Just be
> aware that many organizations don't want to grant permissions that way
> because of possible security risks. Others don't want to use a 3rd
> party library like Redemption.
Sadly, our client is one of those organizations that requires very
high security. I guess using Redemption would be safer than setting
the permissions than.

>
> If you don't use custom forms any custom properties won't stay intact
> when the form is sent, plus a reply or forward opens a brand new form
> anyway. So you need to add your properties from scratch in that new
> form. One alternative would be to add the custom fields as X-headers
> in the Internet headers, but that would require code on the receiving
> end to do something with the headers and would only apply to emails
> sent over the Internet. Emails sent only within Exchange have no
> headers.
I have chose to use custom form and com addin together, I've disabled
the default reply, reply to all and forward action on the custom form,
then provide the user to 5 custom actions, reply to (non outlook),
reply to all (non outlook), reply to (outlook), reply to all (outlook)
and forward (outlook), I can't seem to get forward to work properly
when forwarding to non outlook mail clients since the custom form is
being attached and the client will always get a winmail.dat,
especially if the form is signed or encrypted.

>
> If you have some simple code that repros Outlook crashing when you do
> whatever you're doing with SMIME messages please post it and if it can
> be verified I'll report it as a bug to MS.
Thanks, the problem seemed to disappear after I restarted my machine,
must be caused by some left over memory/state. Sorry for the wrong
report.

Thanks,
Zhen

>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "hint" <legend_hint@yahoo.com> wrote in message
> news:3eda2acc.0402122044.7f57e041@posting.google.com...
> > "Siegfried Weber" <siegfriedcw@notmail.com> wrote in message
> news:<OUjyooY8DHA.452@TK2MSFTNGP11.phx.gbl>...
> > > hint wrote:
> > > >
> > > > but how about forwarded mail? or replies? are they also zero?
> sorry..
> > > > haven't test it yet :P (thought of saving some time by asking
> instead
> > > > :P lazy me..)
> > >
> > > Heck, sorry that I was too lazy to keep those different scenarios
> in mind.
> > > item.size = 0 only on new items of course. A reply/forward will
> cause an
> > > item.size of > 0. In the case of a reply/forward you would need to
> check for
> > > more info. I'm afraid my limited knowledge of OL programming
> doesn't cut it
> > > here and I must bail :-(
> > Thanks, it's OK :) Ken has suggested to check the EntryID instead,
> :)
> > I think that should work.
> >
> > >
> > > > but what if the recipient is part of a mailing list?
> > >
> > > So, basically you are asking how to handle BCC's. The answer is:
> under no
> > > scenario, no matter if an Outlook form, COM addin, Exchange Web
> Form etc.,
> > > you can track those. Sorry for being the bad messenger.
> > I've been receiving the security dialog when trying to access some
> > fields (e.g. CC, BCC etc..), I know this is an Outlook "FEATURE" and
> > the only way to get around this is by using either "Redemption" or
> > Extended MAPI (which I have no background of), I've also read in one
> > of Microsoft's KB about an workaround to this "FEATURE" using
> > configurations on the Exchange server, but found no samples or
> details
> > on how to do it, by any chance you got some ideas? (I would like to
> > avoid using Redemption or Extended MAPI if this can be done using
> some
> > server policy)
> >
> > >
> > > > seems there is no way to cancel the event, what I did was to
> capture
> > > > the new_inspector then override the item's onopen event handler
> with
> > > > the checking code, if it fails, I cancel the open event instead.
> > > >
> > > > I think I have handle the events correctly now, but part of my
> > > > requirement was to show two custom fields to the user. I guess I
> could
> > > > use custom forms for that purpose, but I was thinking whether it
> is
> > > > possible to show some custom fields in the default form and have
> them
> > > > intact when replying or forwarding?
> > >
> > > Don't think they stay intact on reply/forward without you adding
> custom
> > > code. But I'm now running out of my knowledge...
> > >
> > > > However, when user replies to this message, the user property
> "ID" no
> > > > longer exists. In addition, the code only works for Plain
> Emails. If
> > > > oItem is a SMIME message, then the call to .add("Message")
> causes
> > > > error in outlook and the application terminates. Any ideas?
> > >
> > > Outlook should not terminate under any circumstance. This sounds
> like a
> > > severe bug you should escalate to Microsoft Support. The reason
> why it
> > > doesn't travel with a reply/forward is that Outlook doesn't do it.
> You need
> > > to handle this by yourself.
> > I've decided to combine the Com Addin approach with the custom form
> > approach, this makes life easier :)
> >
> > On side question, Is there a way to retrieve the server name or IP
> > address of the exchange server that the current user is connected
> to?
> >
> > Thank you very much, you've been such a big help :)
> >
> > best regards,
> > Zhen



Relevant Pages

  • Re: Force user to use outlook and custom organizational form
    ... You can get the server name of the Exchange server, ... You need to use CDO 1.21, EX MAPI or Redemption for that. ... If you don't use custom forms any custom properties won't stay intact ...
    (microsoft.public.exchange.development)
  • Classic Cross Site Scripting: Gibson Research Corporation
    ... Gibson Research Corporation http://www.grc.com is an interesting site ... The site has a custom 'filter', ... This custom 'filter' is supposed to protect the server ... Demonstrate your knowledge and understanding of core IT Security, ...
    (NT-Bugtraq)
  • Re: Runtime Error when going to Hotmail
    ... This may be a symptom of too strict security on the client side. ... BTW what zone is this URL coming up in? ... An application error occurred on the server. ... The current custom ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: HELP!! Made one small change and...
    ... > The company that I work for full time is Security Central. ... The SBS server is behind a router at ... to an address that cannot be resolved locally, and use the POP3 connector to ... that mail coming from your Exchange server won't get filtered out as spam. ...
    (microsoft.public.windows.server.sbs)
  • Re: Suggestion on setup
    ... of an exchange server. ... to be transfered from the front end exchange server to our back end ... I don't know what sort of "security reasons" you refer to, ... Don't create a child domain - it won't do what you want, ...
    (microsoft.public.windows.server.setup)