i am working on email functionality and recently i am using rad uploader to upload files and send to mails through smtp connection.the code that i wrote working fine in localsystem,but when we deploy it on IIS(V 5.1 or 7) it is getting error,path cannot be found /access to path is denied ,i am sending code block please reply soon ,Thanks.
foreach (UploadedFile file in RadUpload1.UploadedFiles)
string strFileName = null;
strFileName = System.IO.Path.GetFullPath(file.FileName);
attachment = new System.Net.Mail.Attachment(strFileName);