django-newsletter
django-newsletter copied to clipboard
Subscribe to all newsletters with single confirmation
Some times we need to ask users only to subscribe, if they wish then we can subscribe user for all newsletters. When user is subscribing for all newsletters then if settings file have NEWSLETTER_CONFIRM_EMAIL=True then app should send only one email as he is subscribing for all newsletters.
I would like to subscribe new registred user to all newsletter if the user select a checkbox at the registration. Is this possible?
@sonus21 Could you figure out how to reach your goal? Would be nice if you could share your code :) or explain what you did
Impossible is nothing. Just the code needs to be written and maintained. Perhaps it's easier to just create a custom view and form and, perhaps, abstract the subscription logic from the views.
@sowinski I created a custom table (AllSubscription) whenever user subscribes I add a new entry to table and sent a email. Once user confirmed the email then I added entries to Notification Subscription table and deleted an entry from table AllSubscription that's all.