We are looking for a simple way of having newsletter signups being confirmed by clicking on a link in the acknowledgement email
Has anyone implemented this feature successfully please?
Some direction would be fantastic
thanks
Peter
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
We are looking for a simple way of having newsletter signups being confirmed by clicking on a link in the acknowledgement email
Has anyone implemented this feature successfully please?
Some direction would be fantastic
thanks
Peter
Hi!
This is exactly the feature I want to have. This method is called double opt-in and I am looking forward getting a sollution for this problem!
Thanx in advance!
Hi!
I got kind of a solution for the email-confirmation...
I just built a form-page, all inserts will be safed in a simple table in the dabase. The subscriber gets a email with a random generated Code. With this code he can go to a second page and put in a second formula. Is his code right, I just make the same actions like the »normal« newsletter-module-subscription form.
For Unsubscribe the function of the newslettermodule can be taken.
I hope this can help you.
Hi Tonisch,
I'm also interested in your solution, could you post your code if you don't mind?
Thanks in advance!
Hi!
Okay, first thing, i did was creaing a table "MySubscription" containing standard fields like ID, ClassName, Created and with the extra fields firstname, surname, mail and valcode.
Second, I created a new PageTyp containing a formular where the user can give his Newslettersubscription inserts. After sending the form I created a random ValCode and send it to the user via email. I safed this information in the db.
Third, I created a second PageTyp where the user could give his valcode (he could also click on the link in the mail and get to this page). After submitting this form I called the "usual" Newsletter Subscription function and added him to our mailing list. I used this just for one Newsletter Types - I could not get it working with different newsletter types.
This is, what if done. But, my client did not want the feature any more - perhaps I have to get it work again in a few months.
I hope this answer helps you! If you are interested in the code I wrote just give me a pm / mail...
hi tonisch, it would be nice to get the code from you :
Thanks a lot for your help.