cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: issue using SMTP with libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 25 Aug 2010 21:47:43 -0700

On Thu, Aug 26, 2010 at 10:07:46AM +0530, Harshdeep Singh wrote:
> Hi,
>    I am using SMTP with libcurl to send out mail. What i wanted to know is
> there some way we can attach a file to the mail using libcurl.

The standard way to attach a file to a message is to use MIME. Your app
will need to format an appropriate MIME message which is then sent to the
mail server by libcurl.

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