Revision a96b6e95
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
1002 | 1002 |
map { $mail->{$_} = $self->{$_} } |
1003 | 1003 |
qw(cc subject message format); |
1004 | 1004 |
|
1005 |
if ($self->{cc_employee}) { |
|
1006 |
my ($user, $my_emp_cc); |
|
1007 |
$user = SL::DB::Manager::AuthUser->find_by(login => $self->{cc_employee}); |
|
1008 |
$my_emp_cc = $user->get_config_value('email') if ref $user eq 'SL::DB::AuthUser'; |
|
1009 |
$mail->{cc} .= ", " if $mail->{cc}; |
|
1010 |
$mail->{cc} .= $my_emp_cc if $my_emp_cc; |
|
1011 |
} |
|
1012 |
|
|
1005 | 1013 |
$mail->{bcc} = $self->get_bcc_defaults($myconfig, $self->{bcc}); |
1006 | 1014 |
$mail->{to} = $self->{EMAIL_RECIPIENT} ? $self->{EMAIL_RECIPIENT} : $self->{email}; |
1007 | 1015 |
$mail->{from} = qq|"$myconfig->{name}" <$myconfig->{email}>|; |
Auch abrufbar als: Unified diff
E-Mail-Versand: CC an andere kivi-Benutzer per Auswahlliste