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

Vincent Furia vfuria at gmail.com
Sun Jul 26 22:37:09 EDT 2009


Sounds good to me. But maybe we should consider marking the function as
obsolete and create a "COM_mail" class to send email?

-Vinny

On Sat, Jul 25, 2009 at 11:47 AM, Dirk Haun <dirk at haun-online.de> wrote:


> Coming back to this:

>

> >>details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/3b8700815448

> >>changeset: 7122:3b8700815448

> >>user: blaine Lang <blaine at portalparts.com>

> >>date: Mon Jun 15 10:07:53 2009 -0400

> >>description:

> >>Added support for Bcc - Blind copy.

> >

> >Blaine, any objections if we roll back that change and push it to 1.6.1

> >instead?

>

> 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.

>

> Comments?

>

> bye, Dirk

>

>

> --

> http://www.geeklog.net/

> http://geeklog.info/

>

> _______________________________________________

> geeklog-devel mailing list

> geeklog-devel at lists.geeklog.net

> http://eight.pairlist.net/mailman/listinfo/geeklog-devel

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://eight.pairlist.net/pipermail/geeklog-devel/attachments/20090726/6a3e8bd3/attachment.html>


More information about the geeklog-devel mailing list