-
-
Notifications
You must be signed in to change notification settings - Fork 452
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
send() method in class Mage_Core_Model_Email_Queue does
foreach ($message->getRecipients() as $recipient) {
[$email, $name, $type] = $recipient;
match ($type) {
self::EMAIL_TYPE_BCC => $mailer->addBcc($email),
default => $mailer->addTo($email, $this->getBase64EncodedString($name)),
};
}$type comes in as string, but match expects it to be int, all bcc are sent as default (addTo)
Expected Behavior
Should send BCC emails
Steps To Reproduce
Send a bcc mail via email queue (type 2 BCC)
Environment
- OpenMage: 20.15.0
- php: all versionsAnything else?
No response