curl-library
Re: [patch] possible SMTP example
From: David Woodhouse <dwmw2_at_infradead.org>
Date: Thu, 16 Dec 2010 09:15:42 +0000
Date: Thu, 16 Dec 2010 09:15:42 +0000
Looks much better; thanks. One more nitpick...
On Thu, 2010-12-16 at 18:15 +1100, Brad Hards wrote:
> + /* this is the URL for your mailserver - you can also use an smtps:// URL
> + * here */
There's no such thing as smtps://. There was a rash of people doing a
non-standard thing on port 465 a few years ago, but the standard way to
do it is to connect in the clear, issue the STARTTLS command, and then
upgrade to TLS.
Giving an example of how you do *that* would be a more useful thing to
do in a comment. Bonus points for mentioning that you would hopefully
expect this to be connecting to port 587 rather than port 25 (RFC4409).
-- dwmw2 ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-16