i want to ask about to encrypt mailSettings section under system.net

but, when i try to encrypt by cmd.exe it seems that they cannot find mailSettings

i use this script
"aspnet_regiis.exe -pef "mailSettings" "D:\website" -prov ConnectionTestProvider"
can someone help me to encrypt this part?
I've found the solution. you need to specify path for mailSettings for this one
"aspnet_regiis.exe -pef "system.net/mailSettings/smtp" "D:\website" -prov ConnectionTestProvider"

after try and find solution for days.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With