cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: A question about libcurl mail server connection

From: Vasiliy Ivanov <wivanov_at_csodessa.com>
Date: Sat, 18 Apr 2009 23:25:17 +0300

However it sent some headers and mail server reply:
+OK -ERR Unknown command: "get" -ERR Unknown command: "host:" -ERR Unknown
command: "accept:" -ERR Unknown command: ""

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Saturday, April 18, 2009 8:21 PM
To: libcurl development
Subject: Re: A question about libcurl mail server connection

On Sat, 18 Apr 2009, Vasiliy Ivanov wrote:

> Can anyone tell, how can I send data without headers. Such as "get:"
"post:"
> "put"
>
> I need to send data to pop3 mail server. And this server do no need to
send
> headers.

libcurl is most likely not the best idea to use for pop3.

But you can possibly use CONNECT_ONLY, and curl_easy_send() to do this.

-- 
  / daniel.haxx.se
Received on 2009-04-18