hello,
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.
System.Net.Mail.Attachment attachment; foreach (UploadedFile file in RadUpload1.UploadedFiles) { try { string strFileName = null; strFileName = System.IO.Path.GetFullPath(file.FileName); attachment = new System.Net.Mail.Attachment(strFileName); Message.Attachments.Add(attachment); } catch { } }