cURL / Mailing Lists / curl-library / Single Mail


Re: setting email message header and cc/bcc list

From: Daniel Stenberg <>
Date: Wed, 9 Jun 2010 12:00:30 +0200 (CEST)

On Tue, 8 Jun 2010, Alona Rossen wrote:

> How can I set an email header for outgoing messages ? Using CURLOPT_HEADER
> did not do the job.

> How can I specify CC/BCC list?

I assume you're talking about using libcurl's SMTP capabilities?

The actual receivers are those you set with CURLOPT_MAIL_RCPT. You can make up
whatevever you want in CC: headers etc in the data you send, they are just

List admin:
Received on 2010-06-09