I'm assuming you are using xp_readmail to get the recipients? You would be able to obtain the list (from the recipients parameter) into a variable, modify it, then send it out again... Is this what you are wanting to do? Tom Davis
tdavis@sark.com
The reply address of each email I send is stored in a table in my DB. I'm using xp_sendmail to send an email. The problem is, I can't substitute the return email address. It uses the return address of the mail account used to process the outgoing mail.
EXEC xp_sendmail @recipients = 'robertk;laurac',
@message = 'The master database is full.',
@copy_recipients = 'anned;michaels',
@subject = 'Master Database Status'
Where the @recipients or the @copy_recipients variable holds the reply addresses? I mean, can't you simply compose the message any way you wish to by manipulation the appropriate parameter in the call to xp_sendmail? Tom Davis
tdavis@sark.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.