cURL / Mailing Lists / curl-library / Single Mail


Re: issue using SMTP with libcurl

From: Dan Fandrich <>
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:
Received on 2010-08-26