Sietima::Role::NoMail - don't send mail to those who don't want it
version 1.1.2
my $sietima = Sietima->with_traits('NoMail')->new({ %args, subscribers => [ { primary => 'write-only@example.com', prefs => { wants_mail => 0 } }, @other_subscribers, ], });
A Sietima list with this role applied will not send messages to subscribers that have the wants_mail preference set to a false value.
Sietima
wants_mail
subscribers_to_send_to
Filters out subscribers that have the wants_mail preference set to a false value.
Gianni Ceccarelli <dakkar@thenautilus.net>
This software is copyright (c) 2023 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Sietima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sietima
CPAN shell
perl -MCPAN -e shell install Sietima
For more information on module installation, please visit the detailed CPAN module installation guide.