Remove Outlook mail user account programmatically, using c#

Hi:
we are using Outlook connected to an Exchange server in our company.
Once an employee has been retired, I need to stop his Email account of work.
I want to prevent him from sending Emails, also prevent other employees from sending him Emails.(in another word, I need not to show his account in the "To:" field in Outlook).
could I do such a thing via c# code.
please help
Mohammad Alsolaimanapplication programmerAsked:
Who is Participating?
 
Mohammad Alsolaimanapplication programmerAuthor Commented:
thanks for help
0
 
Mohammad Alsolaimanapplication programmerAuthor Commented:
thanks for helpen me
0
 
Jose Gabriel Ortega CCEO J0rt3g4 Consulting ServicesCommented:
My placer bud.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.