Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ferrethouse
Constraint Violating Yak Guru
352 Posts |
Posted - 2009-09-21 : 13:36:15
|
I've setup a Database Mail profile called "SendEmailProfile" which contains an account called "SendEmailAccount". I setup the "reply to" email address at design time. The problem is that I need to change the "reply to" depending on the client account in our application that is being used.One option would be to create 50 accounts each with the appropriate "reply to" address. But that would be logistically prohibitive to maintain.Is there a way to programmatically change the "reply to" for the account prior to sending the email using Database Mail?Thanks. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|