mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Bugfix for use of BCC for all mails
This commit is contained in:
parent
bb9fd68613
commit
0648e57b63
@ -16728,7 +16728,9 @@ INSERT INTO `firmendaten_werte` (`id`, `name`, `typ`, `typ1`, `typ2`, `wert`, `d
|
||||
(385, 'cleaner_shopimport', 'tinyint', '1', '', '1', '1', 0, 0),
|
||||
(386, 'cleaner_shopimport_tage', 'int', '11', '', '90', '90', 0, 0),
|
||||
(387, 'cleaner_adapterbox', 'tinyint', '1', '', '1', '1', 0, 0),
|
||||
(388, 'cleaner_adapterbox_tage', 'int', '11', '', '90', '90', 0, 0);
|
||||
(388, 'cleaner_adapterbox_tage', 'int', '11', '', '90', '90', 0, 0)
|
||||
(389, 'bcc3', 'varchar', '128', '', '', '', 0, 0)
|
||||
;
|
||||
|
||||
INSERT INTO `geschaeftsbrief_vorlagen` (`id`, `sprache`, `betreff`, `text`, `subjekt`, `projekt`, `firma`) VALUES
|
||||
(1, 'deutsch', 'Bestellung {BELEGNR} von {FIRMA}', '{ANSCHREIBEN},<br><br>anbei übersenden wir Ihnen unsere Bestellung zu. Bitte senden Sie uns als Bestätigung für den Empfang eine Auftragsbestätigung zu.', 'Bestellung', 1, 1),
|
||||
|
@ -27328,7 +27328,7 @@ function MailSendFinal($from,$from_name,$to,$to_name,$betreff,$text,$files="",$p
|
||||
$bcc3 = $this->Firmendaten('bcc3');
|
||||
if($bcc3!="")
|
||||
{
|
||||
$bccRecipients[] = new EmailRecipient($bcc3[0], $bcc3[1]);
|
||||
$bccRecipients[] = new EmailRecipient($bcc3, $bcc3);
|
||||
}
|
||||
|
||||
// This will build the mail with phpmailer 6 and send it out
|
||||
|
@ -1016,7 +1016,7 @@ class Firmendaten {
|
||||
,'zahlungszielskonto','kleinunternehmer','schnellanlegen','bestellvorschlaggroessernull','immernettorechnungen','rechnung_header','rechnung_footer',
|
||||
'lieferschein_header','lieferschein_footer','auftrag_header','auftrag_footer','angebot_header','angebot_footer','gutschrift_header','gutschrift_footer','bestellung_header','bestellung_footer',
|
||||
'arbeitsnachweis_header','arbeitsnachweis_footer','provisionsgutschrift_header','provisionsgutschrift_footer','proformarechnung_header','proformarechnung_footer','eu_lieferung_vermerk','export_lieferung_vermerk'
|
||||
,'wareneingang_kamera_waage','layout_iconbar','passwort','host','port','mailssl','signatur','email','absendername','bcc1','bcc2'
|
||||
,'wareneingang_kamera_waage','layout_iconbar','passwort','host','port','mailssl','signatur','email','absendername','bcc1','bcc2','bcc3'
|
||||
,'firmenfarbe','name','strasse','plz','ort','steuernummer','projekt','steuer_positionen_export','tabsnavigationfarbe','tabsnavigationfarbeschrift'
|
||||
);
|
||||
|
||||
@ -1719,6 +1719,7 @@ class Firmendaten {
|
||||
$this->app->Tpl->Set('ABSENDERNAME' , $data[0]['absendername']);
|
||||
$this->app->Tpl->Set('BCC1' , $data[0]['bcc1']);
|
||||
$this->app->Tpl->Set('BCC2' , $data[0]['bcc2']);
|
||||
$this->app->Tpl->Set('BCC3' , $data[0]['bcc3']);
|
||||
$this->app->Tpl->Set('FIRMENFARBE' , $data[0]['firmenfarbe']);
|
||||
$this->app->Tpl->Set('NAME' , $data[0]['name']);
|
||||
$this->app->Tpl->Set('STRASSE' , $data[0]['strasse']);
|
||||
@ -2073,6 +2074,7 @@ class Firmendaten {
|
||||
$this->app->Tpl->Set('ABSENDERNAME' , $data['absendername']);
|
||||
$this->app->Tpl->Set('BCC1' , $data['bcc1']);
|
||||
$this->app->Tpl->Set('BCC2' , $data['bcc2']);
|
||||
$this->app->Tpl->Set('BCC3' , $data['bcc3']);
|
||||
$this->app->Tpl->Set('FIRMENFARBE' , $data['firmenfarbe']);
|
||||
$this->app->Tpl->Set('NAME' , $data['name']);
|
||||
$this->app->Tpl->Set('STRASSE' , $data['strasse']);
|
||||
@ -2224,6 +2226,7 @@ class Firmendaten {
|
||||
$data['absendername'] = ($this->app->Secure->POST["absendername"]);
|
||||
$data['bcc1'] = ($this->app->Secure->POST["bcc1"]);
|
||||
$data['bcc2'] = ($this->app->Secure->POST["bcc2"]);
|
||||
$data['bcc3'] = ($this->app->Secure->POST["bcc3"]);
|
||||
$data['name'] = ($this->app->Secure->POST["name"]);
|
||||
$data['firmenfarbe'] = ($this->app->Secure->POST["firmenfarbe"]);
|
||||
$data['strasse'] = ($this->app->Secure->POST["strasse"]);
|
||||
|
Loading…
Reference in New Issue
Block a user