Skip to content

Commit 043c4fd

Browse files
don't use BCC for single-recipient email (#395)
Co-authored-by: Copilot <[email protected]>
1 parent e53927f commit 043c4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function sendMail(string $recipients, ?string $template = null, mixed $da
111111
$this->addBCC($addr);
112112
}
113113
} else {
114-
$this->addBCC($recipients);
114+
$this->addAddress($recipients);
115115
}
116116
}
117117
}

0 commit comments

Comments
 (0)