Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Send mail task problem

Author  Topic 

somya99
Starting Member

1 Post

Posted - 2012-04-13 : 07:26:19
hi,
I am new to SQL server 2005.
Stuck with some work that my senior wants me to complete which is in SQL Server 2005.
I am trying to understand how the send mail task works(don't know anything about it).

When i am sending an empty test mail , its working fine.
The moment i try to send an attachment
, its showing me error: [Send Mail Task] Error: Either the file "Desktop\test1.txt" does not exist or you do not have permissions to access the file.

i read some previous threads on this forum in which people suggested that the file might be opened earlier etc etc.
BUt i just created a test document and tried to attach it and its still showing me this error.

Please help.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-04-13 : 11:21:30
is the document in the server folder or in your local machine folder?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -