Hello,
I ultimately I would like to mail an Excel file created by a DTS. Note that I would really like the user to access the file on a file server but the CIO developed the current way of emailing the file.
Currently this code gives me an error:
If I run without the bold code the email is sent.
Can .xls files be sent?
Also is there a size limit to attachments? (Note my test attachment is 1KB.)
Thank you,
djj
I ultimately I would like to mail an Excel file created by a DTS. Note that I would really like the user to access the file on a file server but the CIO developed the current way of emailing the file.
Currently this code gives me an error:
Code:
EXEC master.dbo.xp_sendmail 'djj@my.local',
@subject = 'NIGHTLY PROCESSES',
@message = 'Hello'[b],
@attachments= N'C:\Data\Daily Reports\my.txt'[/b]
[COLOR=red]Server: Msg 18025, Level 16, State 1, Line 0
xp_sendmail: failed with mail error 0x80004005[/color]
If I run without the bold code the email is sent.
Can .xls files be sent?
Also is there a size limit to attachments? (Note my test attachment is 1KB.)
Thank you,
djj