HI I M SENDING A MAIL WITH AN ATTACHMENT WHOSE LOCATION FORMAT IS SHOWN BELOW
set @attachment='\\10.6.10.10\D$\bills\B002ABTS_KAC_560005_13890771_974015604_80.ps.pdf'THIS WORKS PERFECTLY! BUT I DONT WANT TO INCLUDE 'D$' SO I SHARED THE FOLDER AND CHANGED FORMAT AS SHOWN BELOW
HI Sir, can you check that you can see the path using the account under which SQL server is running. By the way how you send emails using sp_send_dbmail or other way (custom script etc..)
HI Sir, can you check that you can see the path using the account under which SQL server is running. By the way how you send emails using sp_send_dbmail or other way (custom script etc..)
Ivan
i am using sp_send_dbmail , i want to execute the code inside a stored procedure