cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: autobuilds uload form vanished

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Aug 2010 09:07:06 +0200 (CEST)

On Mon, 2 Aug 2010, Guenter wrote:

> can you please give me a sample how I can alternately mail with curl?
> tried:

> curl -u user:pass --mail-from john.doe_at_nirwana.org --mail-rcpt
> autobuillds_at_youknow.where -T mailbody.txt smtp://mail.nirwana.org
>
> but what's missing is:
> - how to specify a subject

Hah, lovely! ;-) I think you should make sure to append "Subject:
autobuild\n\n" at the top of the "mailbody.txt" file.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-02