Hunny Software Library Reference

SmtpClient.ReplyText Property

Gets the text of the server's reply.

[Visual Basic]
Public ReadOnly Property ReplyText As String
[C#]
public string ReplyText {get;}

Property Value

The text of the server's response to the most recent command.

Remarks

The ReplyText property removes the initial reply code and the final CR LF from the server's response. For example, if the server's response is "550 No such user here\r\n", the reply text is "No such user here". If the server sends a multiple line reply, this property returns only the text of the first line.

See Also

SmtpClient Class | Hunny.Mail Namespace