Revision adbc100a
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/Mailer.pm | ||
---|---|---|
|
||
my $num_sent = 0;
|
||
|
||
my %mail_delivery_modules = (
|
||
sendmail => 'SL::Mailer::Sendmail',
|
||
smtp => 'SL::Mailer::SMTP',
|
||
);
|
||
|
||
sub new {
|
||
my ($type, %params) = @_;
|
||
my $self = { %params };
|
||
... | ... | |
myconfig => \%::myconfig,
|
||
);
|
||
|
||
my $module = ($::lx_office_conf{mail_delivery}->{method} || 'smtp') ne 'smtp' ? 'SL::Mailer::Sendmail' : 'SL::Mailer::SMTP';
|
||
my $module = $mail_delivery_modules{ $::lx_office_conf{mail_delivery}->{method} };
|
||
eval "require $module" or return undef;
|
||
|
||
return $module->new(%params);
|
config/kivitendo.conf.default | ||
---|---|---|
memberfile = users/members
|
||
|
||
[mail_delivery]
|
||
# Delivery method can be 'sendmail' or 'smtp' (the default). For
|
||
# 'method = sendmail' the parameter 'mail_delivery.sendmail' is used
|
||
# as the executable to call. If 'applications.sendmail' still exists
|
||
# (backwards compatibility) then 'applications.sendmail' will be used
|
||
# instead of 'mail_delivery.sendmail'.
|
||
# Delivery method can be 'sendmail' or 'smtp'. For 'method = sendmail' the
|
||
# parameter 'mail_delivery.sendmail' is used as the executable to call. If
|
||
# 'applications.sendmail' still exists (backwards compatibility) then
|
||
# 'applications.sendmail' will be used instead of 'mail_delivery.sendmail'.
|
||
# If method is empty, mail delivery is disabled.
|
||
method = smtp
|
||
# Location of sendmail for 'method = sendmail'
|
||
sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
|
doc/changelog | ||
---|---|---|
- Abteilung in Verkauf->Berichte-Rechnungen anzeigen lassen.
|
||
- Customer-Picker beim Projekt erzeugen eingebaut.
|
||
- Es gibt jetzt Schnellsuchen zu den meisten Belegen und Stammdaten in der
|
||
Leiste am oberen Rand, konfigurierbar in der Mandantenkonfiguration.
|
||
Leiste am oberen Rand, konfigurierbar in der Mandantenkonfiguration
|
||
- Wird in der Konfiguration [mail_devlivery]/method auf einen leeren Wert
|
||
gesetzt wird jetzt Mailversand komplett ausgeschaltet, vorher wurde bei
|
||
Werten die nicht 'sendmail' oder 'smtp' sind SMTP als Vorauswahl benutzt.
|
||
|
||
Brieffunktion:
|
||
- Beim Speichern und Drucken von Briefen werden diese im
|
Auch abrufbar als: Unified diff
config: maildelivery.method kann jetzt auch Mailversand unterdrücken