Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to disable or lock To field in new mail window from user entry.

What I have tried:

I am creating an addin for outlook using Outlook Addin 2010. I am able to open new mail window through code, get the mail item from Active Inspector, assign values to To/Subject field even have overridden the Send option. But I want to Lock/Disable To/Subject Field from user input.

Something like this..link
Posted
Updated 5-Jan-17 5:54am
v3
Comments
Afzaal Ahmad Zeeshan 5-Jan-17 13:35pm    
Why?

If you just need him to enter the message, then consider using your own SmtpClient based application and then send the email from your own side. That way, he will only get to enter the Message. But still, this is not a good approach — consider sharing an in depth insight on why of this problem.

1 solution

You cant do this, maybe a hak with windows api.
 
Share this answer
 

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