i want to send a file as attachment to a specific mailid.i am using sp_SQLSMTPMail sp.how i wlll do it.when im passing the path of the file name,it is giving error.,but it is working fine with sending mail.
can any body help me
thanx in advance
Code od sp_SQLSMTPMail is attachment.
when im executing like this:
exec sp_SQLSMTPMail 'x.yahoo.com','y.yahoo.com','sub','body','cc','bcc ','c:\x.jpg'
error is giving