|
|
Subject: [geeklog-cvs] geeklog: Backing out Blaine's BCC changes (for later) - msg#00051
List: geeklog-cvs
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/c92cfd61bea2
changeset: 7130:c92cfd61bea2
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sat Jun 20 16:06:51 2009 +0200
description:
Backing out Blaine's BCC changes (for later)
diffstat:
public_html/lib-common.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5ea3e9d5a82e -r c92cfd61bea2 public_html/lib-common.php
--- a/public_html/lib-common.php Sat Jun 20 16:06:40 2009 +0200
+++ b/public_html/lib-common.php Sat Jun 20 16:06:51 2009 +0200
@@ -3199,7 +3199,7 @@
if( function_exists( 'CUSTOM_mail' ))
{
- return CUSTOM_mail( $to, $subject, $message, $from, $html, $priority,
$cc, $bcc );
+ return CUSTOM_mail( $to, $subject, $message, $from, $html, $priority,
$cc );
}
include_once( 'Mail.php' );
_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[geeklog-cvs] geeklog: Backed out changeset 3b8700815448 (BCC, part 1)
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/02575bed120a
changeset: 7127:02575bed120a
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sat Jun 20 16:03:38 2009 +0200
description:
Backed out changeset 3b8700815448 (BCC, part 1)
diffstat:
public_html/lib-common.php | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (71 lines):
diff -r 3b8700815448 -r 02575bed120a public_html/lib-common.php
--- a/public_html/lib-common.php Mon Jun 15 10:07:53 2009 -0400
+++ b/public_html/lib-common.php Sat Jun 20 16:03:38 2009 +0200
@@ -1360,7 +1360,7 @@
} else {
$displayRightBlocks = false;
}
-
+
if ($displayRightBlocks)
{
/* Check if an array has been passed that includes the name of a plugin
@@ -1379,7 +1379,7 @@
} else {
$rblocks = COM_showBlocks( 'right', $topic );
}
-
+
if( empty( $rblocks ))
{
$footer->set_var( 'geeklog_blocks', '');
@@ -3177,11 +3177,10 @@
* @param boolean $html (optional) true if to be sent as HTML email
* @param int $priority (optional) add X-Priority header, if > 0
* @param string $cc (optional) other recipients (name + email)
-* @param string $bcc (optional) Blind Copy recipients
* @return boolean true if successful, otherwise false
*
*/
-function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '', $bcc = '' )
+function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '' )
{
global $_CONF;
@@ -3194,7 +3193,6 @@
$to = substr( $to, 0, strcspn( $to, "\r\n" ));
$cc = substr( $cc, 0, strcspn( $cc, "\r\n" ));
- $bcc = substr( $bcc, 0, strcspn( $bcc, "\r\n" ));
$from = substr( $from, 0, strcspn( $from, "\r\n" ));
$subject = substr( $subject, 0, strcspn( $subject, "\r\n" ));
$subject = COM_emailEscape( $subject );
@@ -3234,10 +3232,6 @@
{
$headers['Cc'] = $cc;
}
- if( !empty( $bcc ))
- {
- $headers['Bcc'] = $bcc;
- }
$headers['Date'] = date( 'r' ); // RFC822 formatted date
if( $method == 'smtp' )
{
@@ -3574,7 +3568,7 @@
$A = DB_fetchArray($result);
}
}
-
+
if( array_key_exists( 'onleft', $A ) )
{
if( $A['onleft'] == 1 )
@@ -4496,7 +4490,7 @@
*
* Display one of the predefined messages from the $MESSAGE array. If a plugin
* name is provided, display that plugin's message instead.
-*
+*
* @param int $msg ID of message to show
* @param string $plugin Optional name of plugin to lookup plugin
defined message
* @return string HTML block with message
_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs
Next Message by Date:
click to view message preview
[geeklog-cvs] geeklog: Backing out Blaine's BCC changes (for later)
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/5ea3e9d5a82e
changeset: 7129:5ea3e9d5a82e
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sat Jun 20 16:06:40 2009 +0200
description:
Backing out Blaine's BCC changes (for later)
diffstat:
public_html/lib-common.php | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (71 lines):
diff -r 45aff005f42c -r 5ea3e9d5a82e public_html/lib-common.php
--- a/public_html/lib-common.php Thu Jun 18 21:25:41 2009 +0100
+++ b/public_html/lib-common.php Sat Jun 20 16:06:40 2009 +0200
@@ -1360,7 +1360,7 @@
} else {
$displayRightBlocks = false;
}
-
+
if ($displayRightBlocks)
{
/* Check if an array has been passed that includes the name of a plugin
@@ -1379,7 +1379,7 @@
} else {
$rblocks = COM_showBlocks( 'right', $topic );
}
-
+
if( empty( $rblocks ))
{
$footer->set_var( 'geeklog_blocks', '');
@@ -3177,11 +3177,10 @@
* @param boolean $html (optional) true if to be sent as HTML email
* @param int $priority (optional) add X-Priority header, if > 0
* @param string $cc (optional) other recipients (name + email)
-* @param string $bcc (optional) Blind Copy recipients
* @return boolean true if successful, otherwise false
*
*/
-function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '', $bcc = '' )
+function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '' )
{
global $_CONF;
@@ -3194,7 +3193,6 @@
$to = substr( $to, 0, strcspn( $to, "\r\n" ));
$cc = substr( $cc, 0, strcspn( $cc, "\r\n" ));
- $bcc = substr( $bcc, 0, strcspn( $bcc, "\r\n" ));
$from = substr( $from, 0, strcspn( $from, "\r\n" ));
$subject = substr( $subject, 0, strcspn( $subject, "\r\n" ));
$subject = COM_emailEscape( $subject );
@@ -3234,10 +3232,6 @@
{
$headers['Cc'] = $cc;
}
- if( !empty( $bcc ))
- {
- $headers['Bcc'] = $bcc;
- }
$headers['Date'] = date( 'r' ); // RFC822 formatted date
if( $method == 'smtp' )
{
@@ -3574,7 +3568,7 @@
$A = DB_fetchArray($result);
}
}
-
+
if( array_key_exists( 'onleft', $A ) )
{
if( $A['onleft'] == 1 )
@@ -4496,7 +4490,7 @@
*
* Display one of the predefined messages from the $MESSAGE array. If a plugin
* name is provided, display that plugin's message instead.
-*
+*
* @param int $msg ID of message to show
* @param string $plugin Optional name of plugin to lookup plugin
defined message
* @return string HTML block with message
_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs
Previous Message by Thread:
click to view message preview
[geeklog-cvs] geeklog: Backed out changeset 3b8700815448 (BCC, part 1)
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/02575bed120a
changeset: 7127:02575bed120a
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sat Jun 20 16:03:38 2009 +0200
description:
Backed out changeset 3b8700815448 (BCC, part 1)
diffstat:
public_html/lib-common.php | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (71 lines):
diff -r 3b8700815448 -r 02575bed120a public_html/lib-common.php
--- a/public_html/lib-common.php Mon Jun 15 10:07:53 2009 -0400
+++ b/public_html/lib-common.php Sat Jun 20 16:03:38 2009 +0200
@@ -1360,7 +1360,7 @@
} else {
$displayRightBlocks = false;
}
-
+
if ($displayRightBlocks)
{
/* Check if an array has been passed that includes the name of a plugin
@@ -1379,7 +1379,7 @@
} else {
$rblocks = COM_showBlocks( 'right', $topic );
}
-
+
if( empty( $rblocks ))
{
$footer->set_var( 'geeklog_blocks', '');
@@ -3177,11 +3177,10 @@
* @param boolean $html (optional) true if to be sent as HTML email
* @param int $priority (optional) add X-Priority header, if > 0
* @param string $cc (optional) other recipients (name + email)
-* @param string $bcc (optional) Blind Copy recipients
* @return boolean true if successful, otherwise false
*
*/
-function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '', $bcc = '' )
+function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '' )
{
global $_CONF;
@@ -3194,7 +3193,6 @@
$to = substr( $to, 0, strcspn( $to, "\r\n" ));
$cc = substr( $cc, 0, strcspn( $cc, "\r\n" ));
- $bcc = substr( $bcc, 0, strcspn( $bcc, "\r\n" ));
$from = substr( $from, 0, strcspn( $from, "\r\n" ));
$subject = substr( $subject, 0, strcspn( $subject, "\r\n" ));
$subject = COM_emailEscape( $subject );
@@ -3234,10 +3232,6 @@
{
$headers['Cc'] = $cc;
}
- if( !empty( $bcc ))
- {
- $headers['Bcc'] = $bcc;
- }
$headers['Date'] = date( 'r' ); // RFC822 formatted date
if( $method == 'smtp' )
{
@@ -3574,7 +3568,7 @@
$A = DB_fetchArray($result);
}
}
-
+
if( array_key_exists( 'onleft', $A ) )
{
if( $A['onleft'] == 1 )
@@ -4496,7 +4490,7 @@
*
* Display one of the predefined messages from the $MESSAGE array. If a plugin
* name is provided, display that plugin's message instead.
-*
+*
* @param int $msg ID of message to show
* @param string $plugin Optional name of plugin to lookup plugin
defined message
* @return string HTML block with message
_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs
Next Message by Thread:
click to view message preview
[geeklog-cvs] geeklog: Backing out Blaine's BCC changes (for later)
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/5ea3e9d5a82e
changeset: 7129:5ea3e9d5a82e
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sat Jun 20 16:06:40 2009 +0200
description:
Backing out Blaine's BCC changes (for later)
diffstat:
public_html/lib-common.php | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (71 lines):
diff -r 45aff005f42c -r 5ea3e9d5a82e public_html/lib-common.php
--- a/public_html/lib-common.php Thu Jun 18 21:25:41 2009 +0100
+++ b/public_html/lib-common.php Sat Jun 20 16:06:40 2009 +0200
@@ -1360,7 +1360,7 @@
} else {
$displayRightBlocks = false;
}
-
+
if ($displayRightBlocks)
{
/* Check if an array has been passed that includes the name of a plugin
@@ -1379,7 +1379,7 @@
} else {
$rblocks = COM_showBlocks( 'right', $topic );
}
-
+
if( empty( $rblocks ))
{
$footer->set_var( 'geeklog_blocks', '');
@@ -3177,11 +3177,10 @@
* @param boolean $html (optional) true if to be sent as HTML email
* @param int $priority (optional) add X-Priority header, if > 0
* @param string $cc (optional) other recipients (name + email)
-* @param string $bcc (optional) Blind Copy recipients
* @return boolean true if successful, otherwise false
*
*/
-function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '', $bcc = '' )
+function COM_mail( $to, $subject, $message, $from = '', $html = false,
$priority = 0, $cc = '' )
{
global $_CONF;
@@ -3194,7 +3193,6 @@
$to = substr( $to, 0, strcspn( $to, "\r\n" ));
$cc = substr( $cc, 0, strcspn( $cc, "\r\n" ));
- $bcc = substr( $bcc, 0, strcspn( $bcc, "\r\n" ));
$from = substr( $from, 0, strcspn( $from, "\r\n" ));
$subject = substr( $subject, 0, strcspn( $subject, "\r\n" ));
$subject = COM_emailEscape( $subject );
@@ -3234,10 +3232,6 @@
{
$headers['Cc'] = $cc;
}
- if( !empty( $bcc ))
- {
- $headers['Bcc'] = $bcc;
- }
$headers['Date'] = date( 'r' ); // RFC822 formatted date
if( $method == 'smtp' )
{
@@ -3574,7 +3568,7 @@
$A = DB_fetchArray($result);
}
}
-
+
if( array_key_exists( 'onleft', $A ) )
{
if( $A['onleft'] == 1 )
@@ -4496,7 +4490,7 @@
*
* Display one of the predefined messages from the $MESSAGE array. If a plugin
* name is provided, display that plugin's message instead.
-*
+*
* @param int $msg ID of message to show
* @param string $plugin Optional name of plugin to lookup plugin
defined message
* @return string HTML block with message
_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs
|
|