I have a situation where I send a lot of confirmation email messages from SQL Server using xp_sendmail. I batch them and send them once a day (or once a week).
They way I do this is to run a stored procedure that pulls my recordset and cursors through it, sending a message to each row. The message goes to the individual with a copy sent to an internal email account for tracking purposes.
For some reason that I cannot figure out, I ALWAYS get the copy, but often the person that the message is addressed to does not receive their copy. The messages do not bounce back as undelivered, and this has happened enough for me to determine that it is not a fluke. When I forward my copy to the address in the message, it always arrives.
Any help in figuring out what is going on would be greatly appreciated!
Thanks in advance!!
Birgit
They way I do this is to run a stored procedure that pulls my recordset and cursors through it, sending a message to each row. The message goes to the individual with a copy sent to an internal email account for tracking purposes.
For some reason that I cannot figure out, I ALWAYS get the copy, but often the person that the message is addressed to does not receive their copy. The messages do not bounce back as undelivered, and this has happened enough for me to determine that it is not a fluke. When I forward my copy to the address in the message, it always arrives.
Any help in figuring out what is going on would be greatly appreciated!
Thanks in advance!!
Birgit