cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SMTP mail example

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Wed, 12 Oct 2011 17:05:51 +0200

Nazim Oztahtaci wrote:

> Which options are used for attachments of an email in cUrl?

SMTP sends (ASCII) text only.

To send structured and/or typed mails, you have to format data according
to MIME specifications. There is no support in libcurl for this layer.

See RFCs 2045-2049:
        http://www.rfc-editor.org/rfc/rfc2045.txt
        http://www.rfc-editor.org/rfc/rfc2046.txt
        http://www.rfc-editor.org/rfc/rfc2047.txt
        http://www.rfc-editor.org/rfc/rfc2048.txt
        http://www.rfc-editor.org/rfc/rfc2049.txt

Patrick

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-12