When attempting to send a MailMessage with an empty recipients list, an invalid SMTP command is sent to the server resulting in an SMTPException: SMTP Exception: Cannot send message data: 503 Bad sequence of commands.
Poco::Net::SMTPClientSession::sendMessage() should check for an empty recipients list and throw a more meaningful exception in such a case.