Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Subscription & unsubscription example code
  • Vote Up0Vote Down quokkaquokka
    Posts: 4Sendy user

    Hi,

    Great software, missing just one thing. Cannot find how to let users unsubscribe with a form. Like the subscribe form, but then with optionm to unsubscribe.. Can this be done?

    Thanks, Bas

  • 6 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,391Sendy support

    Hi,

    Sendy provides you with a subscribe form HTML code you can embed anywhere on your website.

    1. Go to 'View all lists'
    2. Select your desired list
    3. Click 'Subscribe form' at the top right to get the HTML code

    For anything custom you need to accomplish with regards to subscribe and unsubscribe, use Sendy's API http://sendy.co/api.

    Thanks.

    Ben

  • Vote Up0Vote Down quokkaquokka
    Posts: 4Sendy user

    Hi Ben,

    Thanks...I'll figure that out but hoped there was already some code available. I really like the script, but I think it's a pitty there are no snippets available in the forums or in documentation..

    Thanks anayways! Bas

  • Vote Up0Vote Down quokkaquokka
    Posts: 4Sendy user

    I'm working on ajax subscribe / unsubscribe form.. So I'll post the result when ready for others to re-use if they want...

  • Vote Up0Vote Down BenBen
    Posts: 3,391Sendy support

    I really like the script, but I think it's a pitty there are no snippets available in the forums or in documentation..

    I was thinking you can be the first. :)

    I'm working on ajax subscribe / unsubscribe form.. So I'll post the result when ready for others to re-use if they want...

    Thanks Bas!

    Ben

  • Vote Up0Vote Down quokkaquokka
    Posts: 4Sendy user

    Hi Ben...

    This is working for me, made a small php script with ajax functionality that can be configured to handle subscribtions or unsubscriptions.

    Can be found here: http://pastebin.com/CSARkCGY

    To install:

    make 2 small additions to subscribe.php and unsubscribe.php add 1 extra file (subscribe_ajax.php) Set 3 config options on top of subscribe_ajax.php

    Hopefully it will be helpful for others.

    Ben.. Thanks for the great script, I really enjoy it!

  • Vote Up0Vote Down BenBen
    Posts: 3,391Sendy support

    Thanks for sharing, I really appreciate it. :)

    Ben.. Thanks for the great script, I really enjoy it!

    I'm really glad to hear, thank you!

    Ben

This discussion has been closed.
All Discussions