cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] smtp.c: Changed the curl error code for EHLO and HELO responses

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Fri, 24 Feb 2012 15:25:03 +0000

Hi Daniel,

 

A very small change is attached. The EHLO and HELO handlers would return
CURLE_LOGIN_DENIED which would imply a problem had occurred with the
username and password rather than a rejected EHLO or HELO command which
would be mainly be due to a lack of service. As such changed the response to
CURLE_REMOTE_ACCESS_DENIED to indicated a problem with the service.

 

Kind Regards

 

Steve

Received on 2012-02-24