curl-users
Re: Attachment in SMTP.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 May 2011 09:18:01 +0200 (CEST)
Date: Tue, 24 May 2011 09:18:01 +0200 (CEST)
On Tue, 24 May 2011, aekam parmar wrote:
> I'm using libCurl in one of my SMTP application. In this application, i need
> to send files as an attachment. I read the document but couldn't find any
> option for that. Is there any?
There isn't any. The entire body of the mail is up you as a user to provide.
Sending attachments is "just" a matter of creating the body correctly
(RFC2045-RFC2049 IIRC).
However, if you really want this I figure there are better existing tools
already existing that can help you.
-- / 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.htmlReceived on 2011-05-24