BCC plugin glitches when you PM an email address

I’ve just used the Discourse BCC plugin to send out a nice little batch of personalised individual PMs.

Included in my batch of users was two email addresses (as they did not yet have accounts).

The two PMs due to go to the email addresses glitched and a PM was instead sent to all of the users. Hence they all got 3 PMs instead. Oops!

To repro:

  1. Install the BCC plugin
  2. Create a PM to several users, including at least one who is just an email address
  3. Include %{@username} in the text (not sure if this was needed)
  4. Tick Send an individual personal message to each recipient
  5. Hit send
  6. Look at the PMs that were sent
1 Like