cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: attachments with smtp protocol

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 15 Jun 2014 00:21:22 +0200 (CEST)

On Thu, 5 Jun 2014, Godefroy Clair wrote:

> I want to send emails with files attached with the command line. I found
> that it is possible to do so by adding an encrypted version of our
> attachment to the text of your mail but is it the only way ? Isn't there an
> alternative that would "do the job" for you ?

No, curl currently has no option that builds the mail body for you, so you
must find another tool that does it for you. Or write up code and submit a
patch for us!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-15