cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP Performance of cUrl

From: Daniel Stenberg <>
Date: Tue, 18 Oct 2011 13:19:06 +0200 (CEST)

On Tue, 18 Oct 2011, Nazim Oztahtaci wrote:

> The problem is when I send email from the module, it takes around 4-5
> seconds to receive "354 Start mail input; end with <CRLF>.<CRLF>" and state
> goes from RCTP to DATA. My question is if this is a normal time flow?

I don't think it is normal - a server should be able to respond more or less
instantly. But since you wait for the server's response it is nothing libcurl
can do anything about.

> P.S: I use a simple MIME header and an attachment with 2Kb in the mail.

That is in the payload that is sent to the server _after_ that slow 354
response, right?

List admin:
Received on 2011-10-18