This can be caused by a failed mail session remaining available. Try clearing any such session down beforehand with :
- EXEC master.dbo.xp_stopmail
Please try to ask a sensible question in future. Dumping just an error message without any explanation or even the code it was attempting to run when the message was received is not adequate and probably would have been summarily removed had not one of our members started already to try to help.