can't install the outlook security form correctly

  • Thread starter Thread starter Gerie Alards
  • Start date Start date
G

Gerie Alards

configuration: XP-home edition, office 2003 + business contact manager

When a VBA application send a e-mail then a security warning appears from
outlook and ask for press the ok button. To bypass this security feature I
came
to the following site:
http://office.microsoft.com/en-gb/assistance/HA011402931033.aspx

remarkable I do not gote the tabs but only the first two and the close
button
clicks but not more than that. When I swich most security settings off,
stiil
the msg box appear.

To my opinion I went correctly thru the whole procedure.

please help me out.

gerie alards
 
Wrong solution. The article you cited is for Exchange Server administrators.

Most likely, your VBA code is not properly constructed. To avoid security prompts, all Outlook objects need to derive from the intrinsic Application object. If you don't understand how to change your code, post a snippet.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
'global defined

Dim myOlApp As New Outlook.Application
Dim myNameSpace As Outlook.NameSpace
Dim myInbox As Outlook.MAPIFolder
Dim myDestFolder As Outlook.MAPIFolder
Dim myItems As Outlook.Items
Dim myItem As Object

Sub Ontvangstbevestiging()

Dim MyMail As Outlook.MailItem

Set MyMail = Outlook.CreateItem(olMailItem)

' This addresses it
MyMail.To = myItem.SenderEmailAddress

'This gives it a subject
MyMail.Subject = "Ontvangstbevesting"

'This sends it!
MyMail.Send

End Sub

o-o-o-o-o-o-o-o-o-o-o

"Sue Mosher [MVP-Outlook]" <[email protected]> schreef in bericht
Wrong solution. The article you cited is for Exchange Server administrators.

Most likely, your VBA code is not properly constructed. To avoid security
prompts, all Outlook objects need to derive from the intrinsic Application
object. If you don't understand how to change your code, post a snippet.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
For code in the Outlook VBA environment, remove this statement:

Dim myOlApp As New Outlook.Application

and replace myOlApp with Application everywhere in your code.

If you're referring to VBA code in another application, see http://www.outlookcode.com/d/sec.htm for your options.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Gerie Alards said:
'global defined

Dim myOlApp As New Outlook.Application
Dim myNameSpace As Outlook.NameSpace
Dim myInbox As Outlook.MAPIFolder
Dim myDestFolder As Outlook.MAPIFolder
Dim myItems As Outlook.Items
Dim myItem As Object

Sub Ontvangstbevestiging()

Dim MyMail As Outlook.MailItem

Set MyMail = Outlook.CreateItem(olMailItem)

' This addresses it
MyMail.To = myItem.SenderEmailAddress

'This gives it a subject
MyMail.Subject = "Ontvangstbevesting"

'This sends it!
MyMail.Send

End Sub

o-o-o-o-o-o-o-o-o-o-o

"Sue Mosher [MVP-Outlook]" <[email protected]> schreef in bericht
Wrong solution. The article you cited is for Exchange Server administrators.

Most likely, your VBA code is not properly constructed. To avoid security
prompts, all Outlook objects need to derive from the intrinsic Application
object. If you don't understand how to change your code, post a snippet.

Gerie Alards said:
configuration: XP-home edition, office 2003 + business contact manager

When a VBA application send a e-mail then a security warning appears from
outlook and ask for press the ok button. To bypass this security feature I
came
to the following site:
http://office.microsoft.com/en-gb/assistance/HA011402931033.aspx

remarkable I do not gote the tabs but only the first two and the close
button
clicks but not more than that. When I swich most security settings off,
stiil
the msg box appear.

To my opinion I went correctly thru the whole procedure.

please help me out.

gerie alards
 
Yes I do refer an Access application from which Outlook is called. Both,
Oulook and Access are runing on the same computer.



"Sue Mosher [MVP-Outlook]" <[email protected]> schreef in bericht
For code in the Outlook VBA environment, remove this statement:

Dim myOlApp As New Outlook.Application

and replace myOlApp with Application everywhere in your code.

If you're referring to VBA code in another application, see
http://www.outlookcode.com/d/sec.htm for your options.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Gerie Alards said:
'global defined

Dim myOlApp As New Outlook.Application
Dim myNameSpace As Outlook.NameSpace
Dim myInbox As Outlook.MAPIFolder
Dim myDestFolder As Outlook.MAPIFolder
Dim myItems As Outlook.Items
Dim myItem As Object

Sub Ontvangstbevestiging()

Dim MyMail As Outlook.MailItem

Set MyMail = Outlook.CreateItem(olMailItem)

' This addresses it
MyMail.To = myItem.SenderEmailAddress

'This gives it a subject
MyMail.Subject = "Ontvangstbevesting"

'This sends it!
MyMail.Send

End Sub

o-o-o-o-o-o-o-o-o-o-o

"Sue Mosher [MVP-Outlook]" <[email protected]> schreef in bericht
Wrong solution. The article you cited is for Exchange Server
administrators.

Most likely, your VBA code is not properly constructed. To avoid security
prompts, all Outlook objects need to derive from the intrinsic Application
object. If you don't understand how to change your code, post a snippet.

Gerie Alards said:
configuration: XP-home edition, office 2003 + business contact manager

When a VBA application send a e-mail then a security warning appears from
outlook and ask for press the ok button. To bypass this security feature
I
came
to the following site:
http://office.microsoft.com/en-gb/assistance/HA011402931033.aspx

remarkable I do not gote the tabs but only the first two and the close
button
clicks but not more than that. When I swich most security settings off,
stiil
the msg box appear.

To my opinion I went correctly thru the whole procedure.

please help me out.

gerie alards
 
Back
Top