I'm always getting the error 'Failed to open attachment file "path\filename". Access is denied.' and Attachment "path\filename" is invalid every time I execute sp_send_dbmail. I already have access to the server folder and sp_send_dbmail and I also tried it on my local drive but still I'm getting the error.

Please help. Thanks in advance!