On Thu, Jun 22, 2017 at 09:45:32AM +0100, Milosz Wasilewski wrote:
I took a closer look at the email sending part. There is a setting whether to use multipart (html+txt) or just text version. If all recipients should be included in the address field of the message,
I think I'd expect this to be a global thing rather than a per tree/report thing - it's likely that there's some users will be getting multiple reports and probably you don't want to have to update their preferences in multiple places if they change their mind on anything. Each report has a list of recipients and separately each recipient has a preference on e-mail format.
this setting has no meaning. So there are three options: a) use text only and send to all recipients b) use multipart and sent to all recipients c) send separate emails (two of them) based on whether the recipient belongs to 'multipart' list or 'plain' list.
Which option should I use?
If it's a global thing then there's also the option of falling back to text only if any one of the recipients is text only which is probably what I'd end up going for.