Hi all. I need help sending emails from SQL server.
Normally I would use xp_sendmail, however at this time,
I need to change sender's email (name). Can't do it with xp_sendmail. Also I tried to use CDONTS.Newmail in
ActiveScript task of DTS package. It does recognize
the Newmail object, but complains over Send method.
Send Mail task of DTS also is no good, since I need
to build an email body based on select statement, and I
don't see any way to use Send Mail with a dynamic content.
Please help,
Thanks in advance
Normally I would use xp_sendmail, however at this time,
I need to change sender's email (name). Can't do it with xp_sendmail. Also I tried to use CDONTS.Newmail in
ActiveScript task of DTS package. It does recognize
the Newmail object, but complains over Send method.
Send Mail task of DTS also is no good, since I need
to build an email body based on select statement, and I
don't see any way to use Send Mail with a dynamic content.
Please help,
Thanks in advance