rapila / plugin-newsletter

The newsletter plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newsletter subscibe opt-in

juergmessmer opened this issue · comments

Newsletter subscribed in anonymous forms should work this way
• subscription form is sent
• email confirms subscriptions to e-mail address and asks to confirm this subscription (opt-in)
• on click to this link the subscription is confirmed

add an additional field named something like "is_not_confirmed [default=false]" to subscriber_group_membership

  • on post of the public form subscription this boolean is set to true
  • on opt-in confirm this boolean is set to false
  • newsletters to memberships with is_not_confirmed = true should never be sent.
  • these not-opted-id memberships have to be removed periodically

maybe the field should not be a boolean, but a opt-in-hash that can be sent with the opt-in-email link

opt_in is implemented now in subscriber_import branch and will soon be merged with master

a field opt_in_hash has replaced the former "is_not_confirmed" way.
along with the opt_in we implemented opt_out, mainly for multiple newsletter usage.

this issue is closed with @6597387