curl-library
SMTP usage (was RE: ANNOUNCE: curl and libcurl 7.20.0)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Feb 2010 19:13:35 +0100 (CET)
Date: Thu, 11 Feb 2010 19:13:35 +0100 (CET)
On Thu, 11 Feb 2010, Zhang, Jack wrote:
> curl --mail-from jack.zhang_at_credit-suisse.com --mail-rcpt
> jack.zhang_at_credit-suisse.com -v smtp://snyc12d12006
...
> How can I pass DATA part information, and let curl command finish sending
> process without interaction from keyboard?
Use the -T option to provide a file or -T - to get the data from stdin.
Also: I've been informed that there's probably a bug in how libcurl acts after
the full DATA section has been sent as in it doesn't properly await a 250
response, but I've not yet had the time to investigate or fix.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-02-11