Revision 3fdf2844
Von Jan Büren vor mehr als 7 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
241 | 241 |
my $signature = $::myconfig{signature}; |
242 | 242 |
$mail->{$_} = $params{email}->{$_} for qw(to cc subject message bcc); |
243 | 243 |
$mail->{from} = qq|"$::myconfig{name}" <$::myconfig{email}>|; |
244 |
$mail->{attachments} = [{ filename => $result{file_name},
|
|
245 |
name => $params{email}->{attachment_filename} }];
|
|
244 |
$mail->{attachments} = [{ path => $result{file_name},
|
|
245 |
name => $params{email}->{attachment_filename} }]; |
|
246 | 246 |
$mail->{message} .= "\n-- \n$signature"; |
247 | 247 |
$mail->{message} =~ s/\r//g; |
248 | 248 |
|
SL/DN.pm | ||
---|---|---|
904 | 904 |
delete $form->{tmpfile}; |
905 | 905 |
|
906 | 906 |
push @{ $form->{DUNNING_PDFS} }, $filename; |
907 |
push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => "${spool}/$filename",
|
|
907 |
push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'path' => "${spool}/$filename",
|
|
908 | 908 |
'name' => $form->get_formname_translation('dunning') . "_${dunning_id}.pdf" }; |
909 | 909 |
|
910 | 910 |
$form->get_employee_data('prefix' => 'employee', 'id' => $form->{employee_id}); |
Auch abrufbar als: Unified diff
Mailer.pm wurde umgebaut, vergessene Caller geändert
Behebt #303, ggf. noch weitere Stellen betroffen.