mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Bugfix sendmail cc & bcc empty
This commit is contained in:
parent
2a56b14fa8
commit
e8dea5a81b
@ -32547,7 +32547,7 @@ function MailSendFinal($from,$from_name,$to,$to_name,$betreff,$text,$files="",$p
|
||||
foreach ($cc as $item) {
|
||||
$ccRecipients[] = new EmailRecipient($item, $item);
|
||||
}
|
||||
} else {
|
||||
} else if (!empty($cc)) {
|
||||
foreach (explode(',',str_replace(" ","",$cc)) as $item) {
|
||||
$ccRecipients[] = new EmailRecipient($item, $item);
|
||||
}
|
||||
@ -32558,7 +32558,7 @@ function MailSendFinal($from,$from_name,$to,$to_name,$betreff,$text,$files="",$p
|
||||
foreach ($bcc as $item) {
|
||||
$bccRecipients[] = new EmailRecipient($item, $item);
|
||||
}
|
||||
} else {
|
||||
} else if (!empty($bcc)) {
|
||||
foreach (explode(',',str_replace(" ","",$bcc)) as $item) {
|
||||
$bccRecipients[] = new EmailRecipient($item, $item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user