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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xp_readmail insert into a table

Status
Not open for further replies.
Jun 28, 2001
30
US
I am trying to get the output of xp_sendmail into a table. I've had limited success looping through xp_findnextmsg for the message_id, but what I really want is a full dump of xp_sendmail output inserted into a table.

Tried using the info in BOL to set up the table but haven't gotten it to work. unless xp_sendmail is doing something slinky that i havent learned yet, all i need is a proper table definition.

create table mymailstuff
(...table definition here)
insert into mymailstuff
exec xp_sendmail


Any help would be wonderful. thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top