I am using VS 2012. when I try to send smtp mail I get this error:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.UnauthorizedAccessException:
Access to the path 'C:\\inetpub\\mailroot\\Pickup\\bc717ac4-c9cc-40a6-af5e-649f5d29a0d0.eml' is denied.
user:IIS APPPOOL\ASP.NET v4.0 Classic
Process: W3wp.exe
So I gave full control to the IIS_IUSRS to the Pickup directory. Still I get the error.
The same code works from vs 2010.Only difference is it uses a different app pool.
For VS 2012 worker process, which user need permission ?
Thanks
Go to the complete details ...