[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [485] trunk/LedgerSMB/Form.pm



Revision: 485
          http://svn.sourceforge.net/ledger-smb/?rev=485&view=rev
Author:   tetragon
Date:     2006-11-04 16:20:37 -0800 (Sat, 04 Nov 2006)

Log Message:
-----------
Add code to set read receipt request flag for Mailer

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-11-03 20:53:49 UTC (rev 484)
+++ trunk/LedgerSMB/Form.pm	2006-11-05 00:20:37 UTC (rev 485)
@@ -619,7 +619,7 @@
 	$self->{tmpfile} = "${LedgerSMB::Sysconfig::userspath}/${fileid}_${tmpfile}";
 
 	if ($self->{format} =~ /(postscript|pdf)/ || $self->{media} eq 'email') {
-		$out = $self->{OUT};
+		my $out = $self->{OUT};
 		$self->{OUT} = ">$self->{tmpfile}";
 	}
 
@@ -892,6 +892,7 @@
 
 			$mail->{to} = qq|$self->{email}|;
 			$mail->{from} = qq|"$myconfig->{name}" <$myconfig->{email}>|;
+			$mail->{notify} = $self->{notify};
 			$mail->{fileid} = "$fileid.";
 
 			# if we send html or plain text inline


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.