FIX: Error occurs when you run sp_send_dbmail stored procedure that contains comma in sender email address and name in SQL Server

Applies to: Microsoft SQL Server 2014 Service Pack 2SQL Server 2014 DeveloperSQL Server 2014 Enterprise


Assume that you use Database Mail and sp_send_dbmail stored procedure to send an email in Microsoft SQL Server 2014, 2016 or 2017. When you pass the recipients parameter (for example: First Name, Last Name) that contains comma to the stored procedure, you may notice that the SQL Server fails to send an email. Additionally, you may receive an error message that resembles the following:

Msg 14613, Level 16, State 1, Procedure ProcedureName, Line LineNumber [Batch Start Line 0] The specified '@recipients' cannot use commas (,) to separate addresses: '"UserName, User Title" <>'. To continue, use semicolons (;) to separate addresses.


This issue is fixed in the following cumulative updates for SQL Server:

       Cumulative Update 13 for SQL Server 2017

       Cumulative Update 5 for SQL Server 2016 SP2

       Cumulative Update 13 for SQL Server 2016 SP1

       Cumulative Update 13 for SQL Server 2014 SP2


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.