cURL / Mailing Lists / curl-library / Single Mail


RE: SMTP mail example

From: Patrick Monnerat <>
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:


List admin:
Received on 2011-10-12