Stops a SQL Server mail client session.
xp_stopmail
If there is no existing SQL Server mail session to stop, a message is returned.
Execute permission defaults to the system administrator, who can grant permission to other users.
sp_processmail | xp_readmail |
xp_deletemail | xp_sendmail |
xp_findnextmsg | xp_startmail |