I sent out a mass e-mail using CiviMail and a recipient who has the "Do not email" privacy setting received it. The help text associated with the "do not email" privacy setting makes it clear that they would receive registration confirmations and contribution receipts, but NOT receive CiviMail emails.
The only thing I can think of is that it might be because I added their "Do not email" setting AFTER I created the mass mailing but before the mailing was sent out. However, I thought that CiviMail adjusted the mail recipients list according to whoever was included in the recipient groups at the time the mail should go out.
Does anyone know when CiviMail creates the sending list of recipients for a mass mailing? Is it at the time the mail is created, or at the time the mail is sent out? i.e. if I generate a mail that should be sent to group X, then I remove a user from group X, then the mail goes out...will that user get the mail?
Can anyone confirm that the "Do not email" privacy setting means that this person SHOULD NOT receive any further mass emails?
I have tested by adding this user to a group and then creating a test mass email. They were not in the list of recipients. But I am paranoid because I do not understand why they received the one that they did.
EDIT: I have sent out several more mailings, and the people marked as "Do not email" are now not getting emailed. CiviCRM is specifically flagging that they will not be emailed. So, in conclusion, CiviMail must create the recipient list at the time that the e-mail is scheduled, not at the time it is sent.