Hi everybody,
I'm writing a stored procedure and a trigger to send mail from SQL Server 7.0. The stored procedure will call an ASPEmail component for mail sending task, and the trigger will call the stored procedure for each new recordset in a table. All of this seem to be working. But the problem is that for a new recordset, the procedure is only able to send the first right mail to the right person. If I try to redo the inserting task with the same data, it begins to send mail to everybody. I've red thousands of manuals but could not understand why. Is there a problem relative to the memory allocated to the stored procedure?
Thank you for help.
I'm writing a stored procedure and a trigger to send mail from SQL Server 7.0. The stored procedure will call an ASPEmail component for mail sending task, and the trigger will call the stored procedure for each new recordset in a table. All of this seem to be working. But the problem is that for a new recordset, the procedure is only able to send the first right mail to the right person. If I try to redo the inserting task with the same data, it begins to send mail to everybody. I've red thousands of manuals but could not understand why. Is there a problem relative to the memory allocated to the stored procedure?
Thank you for help.