[Slashdotjp-dev 316] CVS update: slashjp/Slash/Utility/System

Back to archive index

Taku YASUI tach****@users*****
2005年 12月 2日 (金) 02:24:51 JST


Index: slashjp/Slash/Utility/System/System.pm
diff -u slashjp/Slash/Utility/System/System.pm:1.7 slashjp/Slash/Utility/System/System.pm:1.8
--- slashjp/Slash/Utility/System/System.pm:1.7	Fri Dec  2 00:06:06 2005
+++ slashjp/Slash/Utility/System/System.pm	Fri Dec  2 02:24:51 2005
@@ -1,7 +1,7 @@
 # This code is a part of Slash, and is released under the GPL.
 # Copyright 1997-2004 by Open Source Development Network. See README
 # and COPYING for more information, or see http://slashcode.com/.
-# $Id: System.pm,v 1.7 2005/12/01 15:06:06 tach Exp $
+# $Id: System.pm,v 1.8 2005/12/01 17:24:51 tach Exp $
 
 package Slash::Utility::System;
 
@@ -43,7 +43,7 @@
 use base 'Exporter';
 use vars qw($VERSION @EXPORT @EXPORT_OK);
 
-($VERSION) = ' $Revision: 1.7 $ ' =~ /\$Revision:\s+([^\s]+)/;
+($VERSION) = ' $Revision: 1.8 $ ' =~ /\$Revision:\s+([^\s]+)/;
 @EXPORT	   = qw(
 	bulkEmail
 	doEmail
@@ -133,13 +133,12 @@
 	$subject = encode( $h_code, $subject, Encode::FB_PERLQQ );
 
 	# set enverope from
+	my $sender = $constants->{mailfrom};
 	if ($constants->{bounce_address}) {
 		$sender = $constants->{bounce_address};
 		my $bounce_addr = $addr;
 		$bounce_addr =~ s/@/=/;
 		$sender =~ s/###ADDR###/$bounce_addr/;
-	} else {
-		$sender = $constants->{mailfrom};
 	}
 
 	my %data = (
@@ -569,4 +568,4 @@
 
 =head1 VERSION
 
-$Id: System.pm,v 1.7 2005/12/01 15:06:06 tach Exp $
+$Id: System.pm,v 1.8 2005/12/01 17:24:51 tach Exp $


Slashdotjp-dev メーリングリストの案内
Back to archive index