Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » no way of saving recipient in newslletter

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 609 Views
  • servalman
    Avatar
    Community Member
    211 Posts

    no way of saving recipient in newslletter Link to this post

    Hi

    Step by step I'm installing the newsletter system, things seems to work fine as far as cretaing drafts sending them to a test adress etc.

    I'm currently using :

    -userforms-trunk-r88208
    -newsletter-trunk-r88195

    There one major problem I really (after reading lots of stuff) can't get recipient to be added to database and recipent list even tough if

    I use the form (provided by userform module) I get the message : Dear thomas,

    "Thanks for signing up to our mailing list. The following data was submitted:

    First name: thomas

    Email: gangnet@noos.fr

    Password: (we've generated this password for you)

    You're subscribed to the following mailing lists:

    * Nouveau type de news-lettre"

    Is there anyway to solve this ?

    I already try to add this :

    Email::setAdminEmail(’<default from address>’);
    Object::useCustomClass(”Member”, “<custom member classname>”);

    to the _config.php file but when i do :

    http://www.delair.fr/SilverStripe/dev/build?flush=1

    it just gives me a blank message .

    below is my _config.php file maybe I'm implemnting those 2 lines the wrong way
    <?php

    global $project;
    $project = 'mysite';

    global $databaseConfig;
    $databaseConfig = array(
       "type" => "MySQLDatabase",
       "server" => "localhost",
       "username" => "******",
       "password" => "******",
       "database" => "******",
    );

    Email::setAdminEmail(’<default from address>’);
    Object::useCustomClass(”Member”, “<custom member classname>”);

    // Sites running on the following servers will be
    // run in development mode. See
    // http://doc.silverstripe.com/doku.php?id=devmode
    // for a description of what dev mode does.
    Director::set_dev_servers(array(
       'localhost',
       '127.0.0.1',
    ));

    // This line set's the current theme. More themes can be
    // downloaded from http://www.silverstripe.com/themes/
    SSViewer::set_theme('blackcandy');

    ?>

    Thanks a lot for any help that can be given, it is driving me crazy and I'm stuck there with my nearly ready to use Newsletter ;)

    T

    609 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.