Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

4746 Posts in 903 Topics by 801 members

All other Modules

SilverStripe Forums » All other Modules » Email confirmation of newsletter signup

Discuss all other Modules here.

Page: 1
Go to End
Author Topic: Email confirmation of newsletter signup 1035 Views
  • w1
    avatar
    Community Member
    17 posts

    Email confirmation of newsletter signup Link to this post

    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

  • tonisch
    avatar
    Community Member
    15 posts

    Re: Email confirmation of newsletter signup Link to this post

    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!

  • tonisch
    avatar
    Community Member
    15 posts

    Re: Email confirmation of newsletter signup Link to this post

    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.

  • Nico
    avatar
    Community Member
    7 posts

    Re: Email confirmation of newsletter signup Link to this post

    Hi Tonisch,

    I'm also interested in your solution, could you post your code if you don't mind?

    Thanks in advance!

  • tonisch
    avatar
    Community Member
    15 posts

    Re: Email confirmation of newsletter signup Link to this post

    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...

  • dacar
    avatar
    Community Member
    55 posts

    Re: Email confirmation of newsletter signup Link to this post

    hi tonisch, it would be nice to get the code from you :

    Thanks a lot for your help.

  • fiona123
    avatar
    Community Member
    2 posts
    1035 Views
Page: 1
Go to Top

Currently Online: mtz, Euphemismus, stx333

Welcome to our latest member: mr-andrew

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.