Topic: The file, which on other PC is not attached to the letter
I can not send the letter with nesting of a file which lies in a network:
Nesting does not cling
The message 22051, level 16, state 1, line 0 Attachment file \\10.0.2.114\c $\Letter\ATTACH\Temp\1.txt is invalid.
@profile_name = ' email ',
@recipients = ' email@example.com ',
@body = ' Test ';
@subject = ' Test ';
@file_attachments = ' \\10.0.2.114\c $\Letter\ATTACH\Temp\1.txt ';
The file is. c machines where the service sql server works I can address to the specified address.
DECLARE @result int EXEC @result = master. xp_cmdshell ' DIR \\10.0.2.114\*.txt'
Returns that the Logging in is not produced: the user name or the password are not identified.