cURL / Mailing Lists / curl-library / Single Mail

curl-library

attach a binary file to an email

From: Canellas <rodrigo.canellas_at_gmail.com>
Date: Fri, 30 Sep 2016 15:46:44 -0300

Hi!

I am very newbie to curl lib, and also to email related issues, so forgive
me in advance for any silly question.

Studying the examples, I could send a simple email - yeah! But I also need
to send an email with a binary file attached.

Searching the web, I came to conclude that either I go deep into RFC 2045,
or try to use another library.

Well, as I would like to avoid both, I wonder if I could get any help on
how to send a binary file (it is an audio file), attached to an email,
using curl.

Thanks!

    Rodrigo Canellas
    επιμονή

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-09-30