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 |
|
rafeequddin_ahmed
Starting Member
23 Posts |
Posted - 2008-07-17 : 09:19:33
|
| HI,I am sending same mail to multiple user but it is working fine also but each user can see all other user's mail id in his mail.I search in sp_send_dbmaildocumentation there is not property to show only one user his email id,Is there any way to do this?i m passing ; separated recipient list to sp_send_dbmail |
|
|
Transact Charlie
Master Smack Fu Yak Hacker
3451 Posts |
Posted - 2008-07-17 : 12:05:59
|
| Hi,Are you building up just a huge list of recipients in the to or cc fields?If you are then either1) put your recipients into the BCC (blind copy) list rather then a big list of to / cc.2) loop through each of your recipients 1 at a time and send 1 mail to each of them.-- approach 1 is probably better.See :: http://msdn.microsoft.com/en-us/library/ms190307.aspx for the relevent docs.All the best.-------------Charlie |
 |
|
|
Transact Charlie
Master Smack Fu Yak Hacker
3451 Posts |
Posted - 2008-07-17 : 12:07:25
|
In particular... add your recipients to the @blind_copy_recipients parameter..DOC SNIPPET.... , [ @blind_copy_recipients = ] 'blind_copy_recipient [ ; ...n ]' ] -------------Charlie |
 |
|
|
|
|
|