Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The mail headers contain a list-unsubscribe.
Similarly footer unsubscribe links did not work in past.
For test mails it contains an error message.
Proposed resolution
Also test mails can have working unsubscribe elements.
In case the test address is a legitimate subscriber, we should add these elements properly.
Only if the test mail address was not a subscriber and not in the set of recipients, we should drop them.
We could also offer a checkbox that test mail addresses are immediately force subscribed on test send. This might be the best solution.
Comments
Comment #1
BerdirI don't think that makes sense.
I don't really know how to deal with this. Maybe just have a constant like 'test-mail-not-subscribed' and use that as a token. Then we check for that and display a page that says this mail was sent as a test-mail to a not subscribed recipient.
Comment #2
miro_dietikerAgree the situation is challenging. This issue is intended to reopen the discussion and make it work cleanly, whatever clean means.
I didn't expect my suggested option is a candidate for immediate implementation. Let's discuss this when we do some next features.
Comment #3
AdamPS CreditAttribution: AdamPS at AlbanyWeb commented+1 from me from that.
Comment #4
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedGood news - the current code already does exactly this.