[geeklog-devel] [geeklog-cvs] geeklog: Added support for Bcc - Blind copy.

Dirk Haun dirk at haun-online.de
Sat Sep 19 08:26:52 EDT 2009

Digging out this old discussion:

>COM_mail currently looks like this:
>function COM_mail( $to, $subject, $message, $from = '', $html = false,
>$priority = 0, $cc = '' )
>My suggestion would be to turn $cc into an array of additional email
>headers. If it's an array, then it's supposed to consist of Header
>Name / Value pairs, e.g.
>  array('Cc' => 'john at example.com', 'Bcc' => 'jane at example.com', ...)
>For backward compatibility, we would of course also accept a string
>value, in which case it's simply the CC address.

I made that change now.

Also, the additional headers from that array are added last, so that you
could overwrite any of the other headers that Geeklog sets, if you so
desire (at your own risk, of course).

bye, Dirk


More information about the geeklog-devel mailing list