internal package
Foswiki::Contrib::MailerContrib::Subscriber
On this page:
internal package
Foswiki::Contrib::MailerContrib::Subscriber
Object that represents a subscriber to notification. A subscriber is
a name (which may be a wikiName or an email address) and a list of
subscriptions which describe the topis subscribed to, and
unsubscriptions representing topics they are specifically not
interested in. The subscriber
name may also be a group, so it may expand to many email addresses.
new($name)
-
$name
- Wikiname, with no web, or email address, of user targeted for notification
getEmailAddresses() -> \@list
Get a list of email addresses for the user(s) represented by this subscriptionSTATIC getEmailAddressesForUser() -> \@list
Get a list of email addresses for the user(s) represented by this subscription. Static method provided for use by other modules.subscribe($subs)
-
$subs
- Subscription object
unsubscribe($subs)
-
$subs
- Subscription object
isSubscribedTo($topic, $db) -> $subscription
-
$topic
- Topic object we are checking -
$db
- Foswiki::Contrib::MailerContrib::UpData database of parents
isUnsubscribedFrom($topic) -> $subscription
-
$topic
- Topic object we are checking -
$db
- Foswiki::Contrib::MailerContrib::UpData database of parents