PRB: Outgoing SQLMail Messages Blocked and Not SentID: Q124048
|
When you send a mail message using the xp_sendmail extended stored procedure, SQL Server returns the message "Mail sent." No errors occur, however, the mail message gets blocked and is not spooled or sent to the recipients.
This problem occurs if there is a problem with the mail spooler process.
With SQLMail, there are two main situations that can cause the mail spooler
process to stop running:
The following can be used as workarounds for situation number one mentioned
earlier:
With MAPI 0, the mail spooler process runs as an icon on the Windows NT
desktop. If the SQLServer or MSSQLServer service has permission to interact
with the desktop, that icon will appear on the server when a user is logged
into Windows NT and SQLMail is running. If the user then attempts to log
off Windows NT, all programs on the desktop (including the mail spooler)
are shut down by Windows NT which prevents subsequent mail from being
spooled.
If the MSSQLServer service is running in the context of a user account, the
mail spooler does not have permission to interact with the desktop and
therefore the spooler icon does not appear on the desktop. If SQLMail is
started after the MS-Mail client is already running, a conflict occurs
because SQLMail does not have permission to interact with the MS-Mail
client and the spooler which are already running on the desktop.
Additional query words: sql6 sqlmapi mapi
Keywords : kbinterop kbprg SSrvProg
Version : 4.2 4.2x 4.21a 6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 15, 1999