curl / Mailing Lists / curl-library / Single Mail


Re: Old Curl Project

From: Daniel Stenberg <>
Date: Mon, 21 May 2018 16:34:15 +0200 (CEST)

On Mon, 21 May 2018, Don Landsom wrote:

> All seems OK, successfully built everything and SMTP showed up as a
> protocol, the VB app was able to connect to a mail server, but Curl doesn't
> seem to be using SSL so the login request was rejected.

It doesn't use SSL unless you tell it to. For SMTP that's typically be done
with CURLOPT_USE_SSL (for "STARTTLS" style TLS), or in the more unusual case
using an SMTPS:// URL (if you want TLS already in the connection handshake).

> I certainly don't know what I'm doing here, is SSL even what's needed for
> SMTP to work over a secure connection?

Yes. Without SSL (TLS really), SMTP is totally insecure.

Received on 2018-05-21