Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

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

no way of saving recipient in newslletter


Reply


646 Views

Avatar
servalman

Community Member, 211 Posts

13 October 2009 at 5:54am

Edited: 13/10/2009 6:06am

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