A constraint for my c# project is to send emails by using the obsolete System.Web.Mail
. A tooltip in VS warns me that I should use System.Net.Mail
, but I cannot. I expect that, in the (near?) future, System.Web.Mail
will be deprecated.
My question is: is there a way to keep using it, even when deprecated? Isolating System.Web.dll
, adding a reference to it and deploying the project with that file (as I do nowadays) will also work after deprecation?
I think that it will NOT work after deprecation, but I am not sure, because I have not found any documentation about this scenario...