can't install the outlook security form correctly

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
 
S

Sue Mosher [MVP-Outlook]

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
 
G

Gerie Alards

'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
 
S

Sue Mosher [MVP-Outlook]

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
 
G

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top