I\'ve got 4 SQL servers: SQL Server 2005, SQL Server 2008, SQL Server 2008 R2 and SQL Server 2012.
In SQL Server 2008 R2; I have created a SQL job that sends me email ev
Ok, so the problem was that the SQL service account didn't have access to the shared folder. And that's why I got the error "Attachment file \\ServerName\ShareName\Path\SQL2008R2_DB.csv is invalid."
"Attachment file \\ServerName\ShareName\Path\SQL2008R2_DB.csv is invalid."
Now it works just fine ;)