Revision d3217777
Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt
SL/Mailer.pm | ||
---|---|---|
248 | 248 |
# Set defaults & headers |
249 | 249 |
$self->{charset} = 'UTF-8'; |
250 | 250 |
$self->{content_type} ||= "text/plain"; |
251 |
$self->{headers} = [ |
|
251 |
$self->{headers} ||= []; |
|
252 |
push @{ $self->{headers} }, ( |
|
252 | 253 |
Subject => $self->{subject}, |
253 | 254 |
'Message-ID' => '<' . $self->_create_message_id . '>', |
254 | 255 |
'X-Mailer' => "kivitendo " . SL::Version->get_version, |
255 |
];
|
|
256 |
);
|
|
256 | 257 |
$self->{mail_attachments} = []; |
257 | 258 |
$self->{content_by_name} = $::instance_conf->get_email_journal == 1 && $::instance_conf->get_doc_files; |
258 | 259 |
|
Auch abrufbar als: Unified diff
SL::Mailer: Aufrufer kann optional beliebige Header mitgeben