cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] smtp_mail: Added support to MAIL FROM for the optional SIZE parameter

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Sep 2011 23:18:11 +0200 (CEST)

On Mon, 26 Sep 2011, Steve Holme wrote:

> I have modified smtp_mail() to support the optional SIZE parameter that may
> be included in a MAIL FROM command.
>
> This was performed against this morning's baseline and tested against my
> Exchange server. To include the SIZE parameter in the MAIL FROM simply set
> the size via CURLOPT_INFILESIZE.

Looks fine and simple enough. I'll push it.

Have you looked into adding usage of this feature into a test or two?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-29