Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
we are using c# to send outlook mail activity.
but we are getting one pop up please select level public or confidential every time.

I tried to add below code but still not working.


OutlookNM.MailItem oMsg = (OutlookNM.MailItem)oApp.CreateItem(OutlookNM.OlItemType.olMailItem)

oMsg.Sensitivity = OutlookNM.OlSensitivity.olNormal

after adding the above line still I am getting same level popup.

What I have tried:

we are using c# to send outlook mail activity.
but we are getting one pop up please select level public or confidential every time.

I tried to add below code but still not working.


OutlookNM.MailItem oMsg = (OutlookNM.MailItem)oApp.CreateItem(OutlookNM.OlItemType.olMailItem)

oMsg.Sensitivity = OutlookNM.OlSensitivity.olNormal

after adding the above line still I am getting same level popup.
Posted
Comments
BillWoodruff 6-Dec-22 6:40am    
Have you searched MS for Outlook interop support ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900