cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: setting email message header and cc/bcc list

From: Daniel Stenberg <daniel_at_haxx.se>
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
cosmetic.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-09