DTSSendMailTask Attachments

  • Hi everyone!

    I have created lots of DTS packages many that email out attachements (reports etc.). In some packages the attachment file is hard coded and in others I set the attachment property dynamically.  The problem is, if the file is on a fileserver in some subdirectory the whole path gets translated as the attachment filename example:

    attachment: "\\fileserver\directory\subdirectory\file.txt"

    is translated as "fileserver_directory_subdirectory_file.txt" and not just "file.txt"

    This seems to only happen with emails sent outside of our domain. Has anyone else seen this, have any ideas for resolving this?

    Thanks in advance!!! Tom.

  • This was removed by the editor as SPAM

  • There are some quirky things with dtssendmail task, I prefer using a SQL command to call xp_sendmail. You have more control.

    ------------

    Ray Higdon MCSE, MCDBA, CCNA

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply