Re: Outlook send mail using C$ (early bound)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The outlook security model is a blessing and a pain, there is MAPIX that you
can use to send direct through MAPI and will need to be written in C++ or
you can be libraries that wrapper the MAPIX functionality that doesn't
prompt the security dialog, another option is trusting your exe with a
signed dll/exe and then if you use Exchange Server you can install an
Outlook Security form that allows you to configure the security model
accordingly.

http://office.microsoft.com/en-us/assistance/HA011402911033.aspx
http://www.outlookcode.com/d/sec.htm

May also help for reference

--
Mike Walker
MVP Visual Developer VSTO
(Please Reply via NG)
"Ben Reese" <BenReese@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EBEF582E-CD52-4CD4-BDEF-94460F387EE7@xxxxxxxxxxxxxxxx
>I have had the same problem In VB / .Net
> Using both outlook and CDO directly.
>
> I tried the simplest thing possible... a small Macro inside Outlook
> Sub Main()
> Dim Mail As Outlook.MailItem
> Dim Rorward As Outlook.MailItem
>
> Set Mail =
> ThisOutlookSession.Session.GetDefaultFolder(olFolderInbox).Items.Item(1)
>
> Set Forward = Mail.Forward
> Forward.Recipients.Add "me@xxxxxxxxxxx"
> Forward.Send
> End Sub
>
> This results in the same security dialogue.
> I understand the need for security. but this seems to be a real sticing
> point for any unatended applications.
>
> "Ahmed" wrote:
>
>> sorry I meant "Office CD" not CV :D :D
>> it seems that looking for job make me misspell words.
>>
>> "Ahmed" wrote:
>>
>> >
>> > Thank you,
>> > I installed the feature from office CV.
>> >
>> > the problem is that: "IT DOESN'T WORK UNLESS THE SECURITY POPUP
>> > APPEARS"
>> >
>> > Is there any work around this?


.



Relevant Pages

  • Re: Exchange/Outlook security problems Password What??
    ... support documents ("Customizing the Outlook Security Features ... I have set up a form in a folder called Outlook Security Settings, ... because of an invalid password. ...
    (microsoft.public.outlook)
  • Outlook Security Settings removed
    ... I was wondering if anyone heard of a patch that removed the registry ... settings for bypassing the "Outlook Security Settings". ... When the "Outlook Security" add-on was installed we setup a public ...
    (Focus-Microsoft)
  • RE: Outlook Security Settings removed
    ... I was wondering if anyone heard of a patch that removed the registry ... settings for bypassing the "Outlook Security Settings". ...
    (Focus-Microsoft)
  • PDA sync without explicit permission to open Outlook
    ... Office 2000 SP3. ... This last one is wearing out my Palm Pilot batteries way ... changing my Outlook security to the lowest setting, ...
    (microsoft.public.win2000.security)
  • Re: Preview of changes to the Security susbystem for 2.6.36
    ... thanks for this explanation of why people don't want Yama as an LSM. ... "Since Yama has as a security model a container that is field with functionality of other security packages that have a security model but are no LSMs, then instead of making a new LSM like Yama the LSM architecture should be overworked to make the whole security packages and implicitly their security models LSMs." ...
    (Linux-Kernel)