April 29, 2008 at 10:17 pm
while running the job, am getting the following error
System.Data.SqlClient.SqlException: Mail queued.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.
ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection,
CommandType commandType, String commandText, Int32 commandTimeout,
SqlParameter[] commandParameters).
May i know the reason for the above exception?
April 30, 2008 at 6:06 am
Technically, it is a message, not an exception. Something on the SQL end sent an email (I assume in your stored procedure). When you send a mail message through database mail, it reports a message back indicating that the mail message was added to the service broker queue.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply