From 87594d4b165fe0ff1749f32bf83252968b163336 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 5 Nov 2006 00:20:37 +0000 Subject: Add code to set read receipt request flag for Mailer git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@485 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 8f8101ca..a3005ee9 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -619,7 +619,7 @@ sub parse_template { $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 @@ sub parse_template { $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 -- cgit v1.2.3