Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Image Datatype to xp_sendmail attachments param

Status
Not open for further replies.

FerrieC

Programmer
Feb 13, 2004
6
GB
Hi,

I have a table that stores documents in an image field.
There is a trigger on the table that fires when any updates are made to the other fields in the table. The triger builds up a message and sends an email using xp_sendmail. I want to attach the document that is stored in the image field. I know that I have to pass the document file name to the @atatchments parameter, but how do I get the file out of the image field to attach it?

Thanks in advance

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top