cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Some fixes to the SMTP code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 19 Feb 2010 23:53:29 +0100 (CET)

On Fri, 19 Feb 2010, Patrick Monnerat wrote:

> 1) Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into
> account.
> 2) Falls back to RFC822 HELO when EHLO fails (and SSL not required)
> 3) Use of true local host name (i.e.: via gethostname()) when available,
> as default argument to HELO/EHLO

Oh, nice fixes! Please proceed and commit them.

For the (2) thing, we can add a new test case to make sure it actually works
as intended and remains working in the future.

I still have on my list to make sure the SMTP code properly waits for a "250
OK reply" after it is done sending the DATA part of a mail...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-19