PRB: sp_processmail Gets Ambiguous Recipient Error (152415)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
- Microsoft SQL Server 7.0
This article was previously published under Q152415
BUG #: 13309 (SQLBUG_60)
SYMPTOMS
The system stored procedure sp_processmail can fail to reply to a message
sent to the SQL Server if the sender uses an ambiguous e-mail address.
CAUSE
Suppose there are the following two email addresses, "SQL" and "SQLSERVER."
If e-mail user "SQL" sends a message to a SQL Server that has
sp_processmail running, SQL Server will receive the message, but SQL Server
fails in sending a reply because the intended recipient's address is
ambiguous. The address is ambiguous because e-mail address resolution says
that both "SQL" and "SQLSERVER" are possibilities for the address "SQL."
WORKAROUND
To work around this problem, either:
- Make sure that there are no ambiguous e-mail addresses.
-OR-
- Modify the sp_processmail stored procedure to perform the xp_sendmail back to the value of @originator_address instead of @originator.
NOTE: If you are running SQL Server 6.0, you must install SQL Server 6.0 Service Pack 3 or above in order to use this second workaround.
Modification Type: | Major | Last Reviewed: | 11/14/2003 |
---|
Keywords: | kbprb KB152415 |
---|
|