hello.
I am trying to use “send SMTP mail message activity” to send mail with pdf file attached.facing following problem
RemoteException wrapping System.UnauthorizedAccessException: Access to the path ‘C:\Temp\attachments’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType)
at System.Net.Mail.AttachmentBase…ctor(String fileName)
at System.Net.Mail.Attachment…ctor(String fileName)
please help if anyone know the solution thank you in advance