eZ Community » Projects » CJW Newsletter

CJW Newsletter

Tuesday 30 March 2010 - http://projects.ez.no/cjw_newsletter

CJW Newsletter is a full featured newsletter system developed by CJW network and available as an add on for eZ Publish. It integrates seamlessly with eZ Publish an eZ Flow installations.

» Visit project page    » Project members    » Reviews

Latest forum activity - Visit project's forums page

Thursday 23 September 2010 8:06:04 pm

Actually I found that the only possibility for removing users is cleaning a couple of database tables. In Italy there is a very strict legal protection of privacy, and if a person asks you to remove his personal data from your system you must do it immediately in order to prevent legal problems.

So I think it's important for the future release to enable this easily from admin.

I also noticed a strange behaviour in importing CVS files:

if the users are in alphabetical order the order is not respected;

if two listed users have the same email (for ex. a list of doctors, with two doctors from the same laboratory subscribed with the same email) the system obviously delete one user, but it doesn't ask which one you want to delete.

By the way I did the Italian translation of the actual extension, I can send it by email to the team if needed.

Friday 24 September 2010 11:05:40 am

Hi Sandra,

thank's for your feedback,

The new cjw_newsletter version (not available for public testing at the moment) has the feature to delete a user from the database.

The new version has a redesign of the admin interaface, too.

I think at the beginning of oktober a will create a new package for public testing.

Cheers

Felix

 

Friday 24 September 2010 5:05:37 pm

Thank you for the extra quick answer.

After chating with other it seems that I will have to do as many newsletters as I have department. As it is an import, it can be automatised. So I don't really need the data_text and data_xml fields.

Monday 27 September 2010 4:35:40 pm

tomorrow i will upload a new package.

Cheers

Felix

Monday 27 September 2010 5:35:37 pm

Thanks for your very quick answer. It's a very good factor of trustiness in your product.

Hakim

Tuesday 28 September 2010 10:05:36 am

Great news Felix,

I've sent you by email the italian translation so that it is available with the next version. If you want you can send me the upgraded .ts so I can complete it with the new strings.

Another useful implementation is that of modyfing the users data from admin. Actually only users can do it from user interface.

Wednesday 29 September 2010 5:35:36 pm

download the new beta2 of cjw_newsletter from download section - it inlcudes a first version

Wednesday 29 September 2010 7:05:39 pm

Excellent, that is exactly what I was looking for.

Thank you very much,

 

Wednesday 29 September 2010 7:35:38 pm

Hi,

First thanks for the work, the beta2 works very well on 4.4.

I have a weird issue; i'm connecting to a google apps mailbox to collect mail.

Bounce mail are collected in my mailbox, i can see them on the webmail. They are sent through cjw_newsletter.

When i click on "collect all mails", it connects OK to the ssl gmail mailbox, but mails are not added to the mail list, i get "Failed : 2" as mailbox collect result.

Logs aren't clear on what is happening, do you have any clue on what i can look on to find a solution on getting those mail in the list?

I made this work once on the previous version, but i can't see why this do not work.

Params for the mailbox :

email : newsletter@domain.com

serveur : imap.gmail.com

Port: 993

User : newsletter@domain.com

Password : *****

Type : imap

SSL : true

Delete : false

Active : true

php 5.2.10-2ubuntu6.5

Apache/2.2.12 (Ubuntu)

 

Thanks in advance

Thursday 30 September 2010 10:35:37 am

Hi,

I solve the error. I think it was my mail configuration which wasn't good in cjw_newsletter.ini. it seems to be ok now

Friday 08 October 2010 12:05:41 pm

Thanks Felix. Is it safe to upgrade or is it better to get rid of the old database tables?

Friday 08 October 2010 12:35:44 pm

Never mind I have fount the sql upgrade file blunk.gif Emoticon

Thursday 14 October 2010 11:05:46 am

Hello,

I have installed cjw_newsletter, the test newsletter works, but the newsletter is not sent.

The mail for subscribe is not sent anymore.

I use a smtp server in my enterprise.

After the cronjob for mailqueue create, the message is :

Using siteaccess fre for cronjob

Running cronjob part 'cjw_newsletter_mailqueue_create'

Running extension/cjw_newsletter/cronjobs/cjw_newsletter_mailqueue_create.php at: 13/10/2010 15:17

START: cjw_newsletter_mailqueue_create

--

>> START: check nl users with status STATUS_PENDING_EZ_USER_REGISTER

>>> NlUser Objects with STATUS_PENDING_EZ_USER_REGISTER found: 0

>> END: check nl users

--

--

>> START: check NlEditionSend objects with status STATUS_WAIT_FOR_PROCESS

>>> NlEditionSend objects with STATUS_WAIT_FOR_PROCESS found: 1

## Procsessing: cjw_newsletter_mailqueue_create - sendObjectId: 5

++ Find SubscriptionObjects with STATUS_APPROVED: 2

++ [SEND_ITEM][1] create new sendItem id: 5

++ [SEND_ITEM][2] create new sendItem id: 6

+ [STATUS_MAILQUEUE_CREATED] 2 sendItems has be processed (create / or do nothing) SendId: 5

>> END: check NlEditionSend objects

--

END: cjw_newsletter_mailqueue_create

Completing extension/cjw_newsletter/cronjobs/cjw_newsletter_mailqueue_create.php at: 13/10/2010 15:17

Elapsed time: 00:00:00

After the cronjob for process the message is :

Using siteaccess fre for cronjob

Running cronjob part 'cjw_newsletter_mailqueue_process'

Running extension/cjw_newsletter/cronjobs/cjw_newsletter_mailqueue_process.php at: 13/10/2010 15:18

START: cjw_newsletter_mailqueue_process

Status set: editonSend STATUS_MAILQUEUE_PROCESS_STARTED

50.0% [SEND] 1/2 Newsletter send item 5 processed.

100.0% [SEND] 2/2 Newsletter send item 6 processed.

Status set: editonSend STATUS_MAILQUEUE_PROCESS_FINISHED

END: cjw_newsletter_mailqueue_process

Completing extension/cjw_newsletter/cronjobs/cjw_newsletter_mailqueue_process.php at: 13/10/2010 15:18

Elapsed time: 00:00:00

The cjw_newsletter.ini.append.php looks like :

<?php /* #?ini charset="utf-8"? */

[NewsletterSettings]

# NodeId of container where the system is looking for newsletter systems

RootFolderNodeId=300 (it's the id of newletter root)

[NewsletterMailSettings]

# test newsletter

TransportMethodPreview=smtp

# Configuration for SMTP

SmtpTransportServer=10.... (ip of my smtp server)

# settings for mail send out by subscribe, unsubscribe

EmailSender=mail of the admin

EmailSenderName=gestionnaire de la newsletter

# string the subject of all mails is starting with

EmailSubjectPrefix=[object of newsletter]

*/ ?>

-----------------------------------------------------------------------------------

I have an another question :

I create the newsletter from admin interface, I have the subscription form available for anonymous and I would like the display of the newsletter in frontend for anonymous in a rubric.

Thank you.

 

Thursday 14 October 2010 12:05:36 pm

Hi

do you try to send a test nl testmail from admin?

your setting only enable smtp for the preview

<code>

[NewsletterMailSettings]

# test newsletter

TransportMethodPreview=smtp

</code>

if you want to send newsletter subscribe mails, preview mails and cronjob mails by smtp you have to use

<code>

# newsletter

TransportMethodCronjob=smtp

# test newsletter

TransportMethodPreview=smtp

# subscribe, infomail

TransportMethodDirectly=smtp

</code>

Cheers Felix

Thursday 14 October 2010 2:35:40 pm

Hi,

thank you for your quick response.

I have forgotten the two parameters :

# newsletter

TransportMethodCronjob=smtp

# subscribe, infomail

TransportMethodDirectly=smtp

It works fine !

Now my problem is to display the content of a newsletter on the frontend in a rubric of the site, like other documents.

Best regards.

Friday 15 October 2010 9:35:44 am

Hi,

I have the same business than Hakim...

Best regards.

Friday 15 October 2010 11:05:41 am

Do you want to fund this feature?

Monday 18 October 2010 4:35:39 pm

Hi Felix,

Sorry for my late answer. I do not have a budget to fund this feature right now. If it happen, I will contact you.

Best regards,

Hakim

Tuesday 19 October 2010 7:35:43 pm

Hello,

in addition to that (or not..), for instance i would like to add the mobile number in the user account, according to you, what would be, the best way to do so? (if i can't use data_xml)

Thank you very much !

Gwenal Le Bihan

Monday 25 October 2010 12:35:47 pm

Hello Felix,

First of all, congratulations for the extension CJW newsletter. It is a beautiful work.

In recent days, I was working on this extension for tests, configure and customize the TPL files.

I just met a little trouble with the unsubscribe link.

Indeed, if the user activates the link to unsubscribe or change subscribe, in both cases, a mail is sent and the link in this email activates the TPL : configure.tpl and never : unsubscribe.tpl.

I did a test on your site (http://www.cjw-network.com/en/newsletter/subscribe) and I had the same problem.

So, how a user can unsubscribe a subscription to a newsletter.

In advance, thank you for your reply.

Monday 22 November 2010 5:35:50 pm

I have exactly the same problem, only it is not gmail, it is some IMAP inbox. It also notes Failed: XX but nothing else.

Wednesday 01 December 2010 2:35:52 pm

Hi,

it looks like that the eZCMail is not working properbly.

CjwNewsletterMailbox::connect() => using ez ezc for connecting the mailboxes

CjwNewsletterMailbox::collectMailsFromActiveMailboxes() => tries to get Mails

May be here you try some settings.

Maybe this helps for finding the bug.

 

I have a other strange thing. Sometimes i collec 50 mails at once and sometimes only 1 mail ... but i did find out why.

The mailthing is very strange

Thank's for sharing your bugs

Cheers Felix

 

Monday 20 December 2010 10:06:03 am

Hi guys,

I don't see any more activity on the Git repository for this extension (great one by the way !). And I thought that it was supposed to be released verry soon. André said that it should be in the middle of the QA process. But do you have a release date for the official extension ?

Tuesday 04 January 2011 5:36:06 pm

Hello.

I still need to solve this. Finally I installed the nv_newsletter extension and it works with safe_mode=1. But I'd prefer make this one works.

Some one knows is if its posible to replace "shell_exec()" with "exec()" and how to do it.

Thanks

Javier

Wednesday 05 January 2011 4:35:49 pm

ezpublish version 4.4

Loading package cjw_newsletter_classes-1.0-1.ezpkg ok

Installing error:

Fatal error: Call to a member function unserializeContentClassAttribute() on a non-object in /srv/www/htdocs/ez/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 408

Fatal error: eZ Publish did not finish its request

Saturday 08 January 2011 11:36:10 pm

You have to take care that the extension is activated and readable by the apache user.

This error occures, because eZ publish does not know the newsletter specific datatypes.

Tuesday 18 January 2011 5:05:52 am

Anyone want to share tips and tools for creating newsletter templates?

Tuesday 25 January 2011 10:35:53 am

Some tips:

- use ie6 for testing of html mail gives good results

- use old style html with table layouts

- use inline css

Tuesday 25 January 2011 11:05:49 am

Thanks for the explanation Felix. But when I try to edit and store a mailbox username via the ez GUI the username can not be stored.

This appears to be a bug.

Wednesday 26 January 2011 10:35:43 pm

Great to see the release of the Rc1. But coul it be possible to have a changelog between this release and the beta2 ?

Moreover is there any github repository where we could commit to participate ?

Best regards !

Francis.

 

Sunday 30 January 2011 2:05:45 pm

I found this listing quite helpful.

CSS Support in common clients:

http://www.campaignmonitor.com/css/

Monday 31 January 2011 3:35:48 pm

You can find the sources on github:

https://github.com/cjw-network/cjw_newsletter

You can create a fork.

Make changes -> pull request.

Chanelog:

- mostly admin2 changes

- and one db field update (boucemanagement related)

 

 

Tuesday 15 February 2011 2:05:49 pm

Hi N DB,

this thread is obsoleted I think, but maybe it's a answer for some other people with same question.

The unsubscribe.tpl will be used if you unsubscribe from unsubscribe link in the newsletter, this link looks like this with a generated id:

/newsletter/unsubscribe/26358b53ca60a0a9339e2b69332aa689

/newsletter/subscribe for register to an newsletter

/newsletter/configure to change the own newsletter config, remove from it or change the names and the sex blunk.gif Emoticon

Tuesday 15 February 2011 4:05:46 pm

<code>/newsletter/unsubscribe/ $nl_list_subscription_hash</code>=> link to directly unsubscribe from list

<code>/newsletter/configure/ $nl_user_hash</code>=> link to confirm user email ( if called the first time )

=> link to configure user settings including subscriptions

 

Monday 21 February 2011 11:05:50 am

I installed the extension and I followed instructions in order to create my first newsletter system.

I found a problem when I try to create the CJW Newsletter List object. After I choose the language and press OK, the system goes to an infinite loop and I can't use all the admin area.

Wednesday 16 March 2011 9:35:52 am

- which ezpublish version do you use?

- on which platform linux or windows?

- do you check the error log files?

The problem could be the php commandline call for the ini settings of the different siteaccesses.

You can change the path to php-cli in the cjw_newsletter.ini.append.php

<code>

[NewsletterSettings]

# which is the command to exex php cli scripts

PhpCli=php

</code>

Hopefully this will help.

Thursday 17 March 2011 5:06:00 pm

Hi,

I'm looking to change ezNewsletter 1.5.2 to get a more powerfull toll.

I found your new tool cjw_newsletter but cant find any documentation about your product.

Does exist a list of functionalities for cjw_newsletter and eznewsletter in order to compare both of product?

Regards

Ronald

Friday 18 March 2011 8:35:47 am

Hi,

here are some post on share.ez.no

http://share.ez.no/forums/setup-d...cjw-newsletter/%28language%29/eng-GB

The current doc is placed in the actual extension doc folder, here is the link directly from github

https://github.com/cjw-network/cj...ewsletter_documentation.pdf?raw=true

The main goal of CJW Newsletter was to have a newsletter which is easy to install on existing ez publish installations. The whole newsletter list and editions configuration is done with normal contentobjects with special datatypes.

We have only 1 ini cjw_newsletter.ini and 1 extension.

Regards

FElix

 

Tuesday 12 April 2011 5:35:51 pm

Hello,

The package contentclass language is German.

So, when I import the package, German language is automatically added in my eZPublish installation.

It should be better to put this package in english language

Thanks

Wednesday 13 April 2011 12:35:50 pm

Hi,

may be you are right. But this solves not the problem.

If we have an english package and import it to a german system we get the new languag english, too.

This is an package import issue of ez publish.

Thursday 14 April 2011 12:35:52 pm

Hi,

Thanks for your answer.

English language is the eZPublish default language (sadly), and I think most people use this.

But you're right, it is a package import issue...

So cjw_newsletter is awesome !

Thanks for this.

Wednesday 11 May 2011 9:35:55 am

Hi Ivo,

strange.

It would be nice to reproduce this issue.

Do you have this issue on all of your newsletter editions? Or only one time.

It would be nice to have to see the content of the edition ez object, than i can try to reproduce it on my testsystem.

Thank's

Felix

Wednesday 11 May 2011 2:36:13 pm

Hello,

For many reasons, i have multiple users with the same email accounts.

I would like to know if there is a simple way to make cjw_newsletter support these users ?

Best regards,

Wednesday 11 May 2011 3:36:01 pm

Hello,

no their is no solution for this at the moment.

The email address is the unique user key for the cjw newsletter system.

Best regards

Monday 23 May 2011 10:35:58 am

Hello,

I added a new mailbox (pop3).

When I try to collect mails, all messages are "failed".

Does anyone have an idea ?

Thx

Monday 23 May 2011 11:36:05 am

I try imap too, but all is "failed".

Maybe I have a problem with my files permissions or ini settings ?

Monday 23 May 2011 12:36:00 pm

When I use pop account :

- If there is only one message on server, I get 1 failed

- if there is more than one message, I get the following message : "The POP3 server sent a negative response to the LIST command:" and I get no output in BackOffice

When I use imap account :

- Every message are marked as "failed" (I get 50)

 

Monday 23 May 2011 2:06:07 pm

Hi,

first of all thanks for this great extension, I just finished my first setup and this extension makes a very professional and mature impression.

I have one question regarding the send process: Is it possible to trigger mail creation and mail sending directly from the web interface? I have quite small sites, and sending by cronjob is a bit of an overkill for only a few hundred recipients. I want my editors to be able to start the send process by themselves, without needing me to start the cronjobs on the shell.

TIA,

Reinhard

 

PS:

Just to clarify, I'm speaking of "php runcronjobs.php -s siteaccess cjw_newsletter_mailqueue_create" and "php runcronjobs.php -s siteaccess cjw_newsletter_mailqueue_process", not the ini settings "TransportMethod....=smtp" (all 3 of them are set to smtp).

 

Monday 23 May 2011 3:06:28 pm

i will try to reproduce it on my testsystem.

Monday 23 May 2011 3:36:06 pm

can you have a look into the error log file created by cjw_newsletter

for example: var/ezflow_site/log/cjw_newsletter_error.log

All exceptions will be logged their.

Thank's

Monday 23 May 2011 4:05:56 pm

With pop accounts, I get this :

"CjwNewsletterMailparser::parse (error-code: An error occured while sending or receiving mail. The POP3 server sent a negative response to the LIST command: X-UIDL: UID2-1211813932

.)"

 

With imap, I don't get anything.

Tuesday 24 May 2011 12:06:01 pm

Hi,

This is a trace of execution when I try to fetch a pop account (yahoo) :

 

<code>

Timing Point: Module start 'newsletter' :

RETURN : +OK hello from popgate 2.48.1 on popXXX.mail.XXX.yahoo.com

 

SEND : USER XXX@XXXX.com

RETURN : +OK password required.

SEND : PASS XXXXXX

RETURN : +OK maildrop ready, 2 messages (8111 octets) (11139)

 

SEND : UIDL

RETURN : +OK 2 messages (8111 octets)

RETURN : 1 ABdn+FXXXXXXTdt3XXXXXXXNOz4

RETURN : 2 AEBn+FcXXXXXTdt45A5XXXXJ2hA

RETURN : .

 

SEND : LIST

RETURN : +OK 2 messages (8111 octets)

RETURN : 1 4066

RETURN : 2 4045

RETURN : .

SEND : LIST

RETURN : +OK 2 messages (8111 octets)

RETURN : 1 4066

RETURN : 2 4045

RETURN : .

SEND : LIST

RETURN : +OK 2 messages (8111 octets)

RETURN : 1 4066

RETURN : 2 4045

RETURN : .

SEND : RETR 1

RETURN : +OK 4065 octets

RETURN : X-Apparently-To: XXXXX@XXXXX.com via XXX.XXX.XXX.XXX; Tue, 24 May 2011 02:16:15 -0700

 

ERROR : Import Mail 1 : FAILED

 

SEND : LIST

RETURN : Received-SPF: pass (XXXXX.mail.XXX.yahoo.com: domain of XXXX@XXXXX.com designates XXX.XXX.XXX.XXX as permitted sender)

ERROR : The POP3 server sent a negative response to the LIST command: Received-SPF: pass (XXXXX.mail.XXX.yahoo.com: domain of XXXX@XXXXX.com designates XXX.XXX.XXX.XXX as permitted sender)

SEND : QUIT

RETURN : X-YMailISG: qTMKXXXXXAoX2GkXXXXXXd18SZXbkM2RKG_GYYvdLXXXXXa1q

</code>

Tuesday 24 May 2011 3:36:05 pm

Hello,

I have commented this line :

<code>

if( memory_get_usage( true ) > 3000000 )

return false;

</code>

in function <i>convertMailToString</i> in file <i>cjwnewslettermailbox.php</i>

and it works !

Why do you limited the php memory usage ? Isn't it the role of the php.ini ?

Thanks

Tuesday 24 May 2011 4:06:11 pm

Hi,

thank's for your debugging.

Why we limit the memory limit ... i can't tell you.

I will try your solution.

Thank's for your help.

Cheers

FElix

 

Tuesday 24 May 2011 5:36:10 pm

Hi,

Try to comment this line in function <i>convertMailToString</i> in file <i>cjwnewslettermailbox.php</i> :

<code>

if( memory_get_usage( true ) > 3000000 )

return false;

</code>

 

Tuesday 24 May 2011 8:36:07 pm

At the moment we only looking for custom email header variables to detect the newsletter user. (x-cjwnl-senditem ....)

We had good results with it - but maybe we can approve it.

The bouncefunction never will be find all bounce mails. They are so many different responses from the mailserver. And a lot of "bouncemails" never send back to the sender.

We are very happy about your feedback.

Thank's

FElix

Wednesday 25 May 2011 10:05:55 am

Ok, now I have seen this header variables.

But where is the bouncefunction ? What does it track exactly ?

I don't found that.

 

I am happy too about your happyness happy.gif Emoticon.

Wednesday 25 May 2011 11:06:14 am

Ok I think I understood the bouncefunction.

I will see why it doesn't works for me.

Wednesday 25 May 2011 11:36:04 am

Finally I found why it didn't works.

I replaced in <i>cjwnewslettermailparser.php</i> at line <b>193</b> (<i>fetchErrorByStatus</i> function) :

<code>

if ( $diagnostic != 0 )

</code>

BY

<code>

if ( !empty($diagnostic) )

</code>

This error is very strange, but it works !

Wednesday 25 May 2011 4:05:58 pm

Hi,

it would be good to can set a sending date, to plan a sending.

Thanks

Thursday 26 May 2011 11:05:57 am

Hi,

Maybe there is a way to do this :

Choose the 'file' transport method, and after send these files in several times...

Thursday 26 May 2011 11:36:08 am

I think the limit has to be implemented in the process cronjob.

Maybe send only 100 mail in 15 minutes ... . When the cronjob is running the next time ... the next 100 mails will be send.

At the moment all mails will be processed.

 

Thursday 26 May 2011 12:06:02 pm

Ok thanks !

May be a future feature ?

Friday 27 May 2011 12:06:05 pm

Hi !

I'm trying to make CJW working on my ezpublish (4.4) website but i still have a little problem.

i've created my newsletter and articles but when i try to send it with "send test newsletter" or "send newsletter" buton i reach a fatal error message. This one :

<i>

Fatal error: Call to a member function attribute() on a non-object in /home/www.monsite.com/extension/cjw_newsletter/classes/cjwnewsletteredition.php on line 397

Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/*

</i>

 

Do you have an idea ?... can you help me, please ?

Thanks a lot !

Friday 27 May 2011 12:36:03 pm

http://www.cyberciti.biz/faq/linu...cation-and-how-do-i-view-logs-files/

Maybe /var/log/httpd/error.log ?

Friday 27 May 2011 1:06:08 pm

Hi Jeremy,

is the preview of the newsletter edition already working?

If not - the edition creation is not working.

This is done in background on the commandline

Maybe you have to fix the path to your 'php cli ' command in cjw_newsletter.ini.append.php

Cheers

Felix

Friday 27 May 2011 2:36:05 pm

Hi Felix,

when i click on "preview" button, i don't have a fatal error (don't have a nice preview with the good template, but it's not the same problem).

i'll looking to the config of php cli. How could i verify the good path to my php cli ?

 

Thanks a lot !!

Saturday 28 May 2011 2:35:54 pm

How can I add options to PHP CLI ini setting?

I've been trying to disable safe mode on the CLI by changing

<code>

[NewsletterSettings]

PhpCli=php -d safe_mode=0

</code>

but this did not work at all.

Background info:

My provider usually has SafeMode enabled and only disables it for my sites by setting the php_admin_flag in the Apache config. However, this Apache conf setting is ignored if you are calling a PHP CLI via shell_exec() as cjwnewsletteredition.php does in generateOutput. 2 effects of this are that image variations and cache files cannot be created.

Right now I've hacked it directly into cjwnewsletteredition.php line 503

<code>

$cmd = "\"$phpCli\" -d safe_mode=0 extension/cjw_newsletter/bin/php/createoutput.php --object_id=$editionContentObjectId --object_version=$versionId --output_format_id=$outputFormat $wwwDirString--current_hostname=$currentHostName --skin_name=$skinName -s $siteAccess";

</code>

which works, but I'm afraid of forgetting/loosing that change next time I need a newsletter or do an upgrade.

Saturday 28 May 2011 5:05:58 pm

Hi,

please add an option to specify a reply-to address on list basis. Imagine customers hitting the reply button on a newsletter they receive, then they should reply to different address/mailbox then the one sending the newsletter and handling the bounce mails.

Thanks

Monday 30 May 2011 9:35:57 am

Hi Reinhard,

can you try to to create a new ini setting

[NewsletterSettings]

PhpCliOptions=-d safe_mode=0

and use it in class cjwNewsletterEdition getOutput

<code>

$phpCliOptions = $cjwNewsletterIni->variable( 'NewsletterSettings', 'phpCliOptions' );

$cmd = "\"$phpCli\" $phpCliOptions extension/cjw_newsletter/bin/php/createoutput.php --object_id=$editionContentObjectId --object_version=$versionId --output_format_id=$outputFormat $wwwDirString--current_hostname=$currentHostName --skin_name=$skinName -s $siteAccess";

</code>

If your code is working, you can send me your changed files or the diff. And i will review it and include it to the extension.

Thank's

Felix

Monday 30 May 2011 10:06:00 am

Hi Jeremy,

if you enable ez debug the current shellcommand for newlsetter creation will be loged in debug.log

An example from my lokal mashine:

<code>

[ May 30 2011 09:25:39 ] [192.168.100.37] newsletter/preview:

shell_exec( "php" extension/cjw_newsletter/bin/php/createoutput.php --object_id=213 --object_version=3 --output_format_id=0 --current_hostname=admin.cjw-network.com.jac440.fw.lokal --skin_name=default -s cjw-network_user__de )

</code>

You can try the output on commandline with until it works.

<code>

cd ezroot

"php" extension/cjw_newsletter/bin/php/createoutput.php --object_id=213 --object_version=3 --output_format_id=0 --current_hostname=admin.cjw-network.com.jac440.fw.lokal --skin_name=default -s cjw-network_user__de

</code>

"php" is set by cjw_newsletter.ini

<code>

[NewsletterSettings]

PhpCli=php

</code>

if i insert "php -v" on my commandline i get the following

<code>

[root@felix-hst felix]# php -v

PHP 5.3.6 (cli) (built: Mar 17 2011 20:56:13)

Copyright (c) 1997-2011 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans

</code>

php is an alias for

<code>

/usr/bin/php -v

</code>

which creates the same output

The ini setting could be

<code>

[NewsletterSettings]

# PhpCli=php

PhpCli=/usr/bin/php

</code>

You have to set the correct path to your local php cli command if the alias "php" is not working.

Monday 06 June 2011 9:06:05 pm

Hi Felix,

it works for me, you can download a ZIP with the modified class file and ini file here:

http://www.webtourismus.at/static...letter-1.0.0rc1_with_cli_options.zip

Wednesday 08 June 2011 5:35:56 pm

Thanks a lot for your help Felix ! ... it's a litttle better now.

In my error.log file i get that :

<code>

[ Jun 08 2011 17:18:00 ] Unexpected error, the message was : The value '' that you were trying to assign to setting 'body' is invalid. Allowed values are: ezcMailPart. in /homez.373/solistes/www/lib/ezc/Mail/src/mail.php on line 197

[ Jun 08 2011 17:18:01 ] [193.252.2.165] index:

Undefined module: favicon.ico

[ Jun 08 2011 17:18:02 ] [193.252.2.165] eZTSTranslator::handleMessageNode:

No source name found, skipping message

[ Jun 08 2011 17:18:05 ] [193.252.2.165] error/view.php:

Error ocurred using URI: /favicon.ico

</code>

does it mean someting for you ?..

Thursday 09 June 2011 8:36:02 am

Hi,

hmm.

The preview is not working?

Which system do have?

linux? phpversion? ez version?

 

Thursday 09 June 2011 9:35:58 am

Hi,

Maybe your template error in preview is linked to this current error.

The body of mail seems to be generated in /extension/cjw_newsletter/bin/php/createoutput.php, and get the selected template during this operation.

You can try to solve the template error before this problem ?

Simon

(yes, I'm french ! You too ? happy.gif Emoticon )

Friday 10 June 2011 11:35:56 am

Hi,

Is it possible to override the skin templates to an other extension (example: my_design_extension)?

Thanks.

Friday 10 June 2011 1:06:01 pm

Yes (if you have created your own site design), I'm doing the same, simply create the files/directories

~/extension/my_design_extension/design/my_sitedesign_name/templates/newsletter/skin/default/outputformat/html.tpl

~/extension/my_design_extension/design/my_sitedesign_name/templates/newsletter/skin/default/outputformat/text.tpl

 

I'n not sure if this is working with the "ezwebin" site design, because it does already exist in the newsletter extension.

Monday 13 June 2011 9:35:55 am

Thanks for your reply. It worked perfectly.

 

Wednesday 15 June 2011 11:35:59 am

Hi,

I can't access the unsubscribe page.

I've followed the topic http://projects.ez.no/cjw_newslet...rum/general/problem_with_unsubscribe, but without success.

Is there something I'm missing.

- In the subscribe.tpl there is a link for the unsubscribe that directs the user to the subscribe_infomail. Is it possible to insert a link where a user can unsubscribe directly from the subscribe.tpl without being send a email...?

- There is also an other question regarding the subscription. When a user that already have subscribed tries to subscribe again, It is sent to him an email like:

'Hello

Thank you for using our newsletter.'

Is it possible that the system checks if the user is already registered without sending an info e-mail?

 

Fatima

 

Saturday 02 July 2011 2:06:00 pm

<i>- In the subscribe.tpl there is a link for the unsubscribe that directs the user to the subscribe_infomail. Is it possible to insert a link where a user can unsubscribe directly from the subscribe.tpl without being send a email...?

</i>

=> no - if want to unsubscribe and only have your email - you always get this infomail.

If you use the newsletter/unsubscribe link which is generated in newsletter editons, then you only have to confirm after click, but get no email.

<i>Is it possible that the system checks if the user is already registered without sending an info e-mail?</i>

At the moment not, the idea was that nobody can check if somebody is already registered in the system. For that reason the email is send out.

Cheers FElix

Wednesday 19 October 2011 4:35:46 pm

+ birthday, anniversaries, …

+ event calendars

+ daily and weekly stock exchange data

+ daily news, automatically fetched out of news oder product news

+ people who bought this product has also bought ...

+ people who viewed this product/article/news... has also viewed ...

+ daily news, automatically fetched out of personal interest categories, eZ tags or eZ Find fetches

 

<b>current status:</b>

[ ] <i>suggestion or enhancement / looking for funding</i>

[+] in specification / looking for final funding

[ ] <i>funding successful, in specification</i>

[ ] <i>funding successful, in development</i>

Wednesday 19 October 2011 5:05:51 pm

In version 1.0 there is only one field for both in the newsletter list.

http://projects.ez.no/index.php/c...um/feature_requests/reply_to_address

An enhancement from Reinhard Hutter

<b>current status:</b>

[ ] <i>suggestion or enhancement / looking for funding</i>

[+] in specification / looking for final funding

[ ] <i>funding successful, in specification</i>

[ ] <i>funding successful, in development</i>

Wednesday 19 October 2011 5:35:43 pm

Have nice short URLs in Newsletter

<b>current status:</b>

[ ] <i>suggestion or enhancement / looking for funding</i>

[+] in specification / looking for final funding

[ ] <i>funding successful, in specification</i>

[ ] <i>funding successful, in development</i>

Wednesday 19 October 2011 6:05:45 pm

new virtual newsletter list

+ fetch subscriber in multiple static newsletter lists

+ add and save different filter criteria: age between 20 and 30 years, man or woman, location, interests

+filter plugin architecture:

add filter from other CRM systems like Microsoft Dynamics ERP, SugarCRM, Salesforge, shop systems or web services, databases or whatever you want.

 

 

<b>current status:</b>

[ ] <i>suggestion or enhancement / looking for funding</i>

[ ] <i>in specification / looking for final funding</i>

[+] funding nearly successful, in specification

[ ] <i>funding successful, in development</i>

Wednesday 26 October 2011 3:05:45 pm

Hi,

In <i>modules/newsletter/preview.php</i> and <i>modules/newsletter/preview_archive.php</i>, the regexp which inserts email subject preview should be :

<code>%<body([^>]*)>%</code>

instead of

<code>%<body(.*)>%</code>

Sometimes the email subject is displayed after the first line of html body.

Thanks !

Friday 04 November 2011 1:35:45 pm

Hi,

I'm using CJW Newsletter and I have everything installed as described in the documentation. I can send successfully test emails, but when I sent the newsletter, although at the newsletter info panel it says that all the emails where sent, nobody received any email.

I have the newsletter configured to send emails using sendmail, and I'm using Ubuntu server. I also checked the var/log/mail directory and I have all the generated email files by the cronjob. The send newsletter cronjob was also executed correctly.

What might be the problem?

Thank you.

Saturday 05 November 2011 7:35:46 pm

Ignore the former message. I solved the problem. It was a settings issue.

Friday 11 November 2011 10:05:50 am

Hi all,

I have migrated our installation to a new hoster. Calls from admin interface to newsletters work for

newsletter/preview

like issueing the manual command

php extension/cjw_newsletter/bin/php/createoutput.php --object_id=16210 --object_version=1 --output_format_id=0 --current_hostname=www.ingenieure-ohne-grenzen.org --skin_name=iog_newsletter -s iog_admin

but sending of newsletters is not working. I presume this is due to sendmail trouble, since transport settings are set to sendmail. I have enabled debug settings for cjw_newsletter but do not receive any useful information. What do I have to be able to execute on the command line in order to settle this issue?

Best wishes and thanks a ton for this useful product.

Sebastian

Friday 18 November 2011 4:05:45 pm

Hi all,

I still have not found any means of getting cjw_newsletter working. We have been using for some time now on www.ingenieure-ohne-grenzen.org, but after the provider migration it's not working anymore. Like I mentioned before, the preview is functioning but sending a test newsletter results in

###

Die angeforderte Seite kann nicht angezeigt werden. (3)

Das angeforderte Objekt ist nicht verfügbar.

Mögliche Gründe:

Die ID Nummer des Objekts ist falsch. Bitte überprüfen Sie die Adresse.

Das Objekt ist nicht mehr verfügbar.

###

Object ID is wrong and not available any longer. I would be very grateful for any hints. Unfortunately I am a little lost here.

Best wishes

Sebastian

Wednesday 23 November 2011 11:35:46 am

Hy,

I'm looking to limit the subscribe autorisation.

I have 3 type of user :

1 anonymous

2 locataire

3 fournisseur

I have 3 newsletter_list

1 mySiteNewsletter

2 locataireNewsletter

3 fournisseurNewsletter

<b>currently</b> the 3 type of user to all newsletter.

<b>I want :</b>

1 anonymous can subscribe to mySiteNewsletter

2 locataire can subscribe to mySiteNewsletter and locataireNewsletter

3 fournisseur can subscribe to mySiteNewsletter and fournisseurNewsletter

How can i do that ?

Thanks for all,

sorry for my English.

Monday 28 November 2011 5:05:49 pm

Hi,

i have a question about the unsubscription :

Why the variable "#_hash_unsubscribe_#" (at the end of the email sent) isn't replace by the hash ?

the link doesn't work without this hash id, so i don't understand how it an work...

thanks a lot

Monday 28 November 2011 5:35:51 pm

For information, i've only been testing sending newsletters, not real send, maybe it's the problem ?

Monday 28 November 2011 7:05:48 pm

Hi Anthony

be assured that the unscubscribe hash will be replaced by functional links when sending real newsletters.

We hope the CJW newsletter proves to be useful for you!

Regards,

Donat

 

Tuesday 29 November 2011 11:35:51 am

Hi,

it works fine when sending real newsletters.

Very useful extension

thanks a lot

Wednesday 30 November 2011 12:35:52 pm

Hi,

The sender name is not displayed properly in email subject, due to a bad charset encoding.

Other notification emails (registration, etc...) are correctly encoded.

Any idea ?

Thanks !

Friday 16 December 2011 11:05:48 am

Hello,

how can I delete multiple emails from backend ?

I didn't find the way for delete multiple emails, I can only delete one by one.

I don't want to make it by database action if possible.

Best regards.

Patrick.

Tuesday 20 December 2011 9:05:55 am

problem fixed.

it was not a cjw_newsletter issue.

it was a generell ez publish installation issue after moving to an other server.

Thursday 22 December 2011 7:05:53 am

Hi, I'm just trying to plan things for myself and wondering if you will be releasing v2 before 2012?

Thanks

Thursday 22 December 2011 11:35:49 am

Ok,

Thanks a lot !

I will test this update happy.gif Emoticon

Thursday 05 January 2012 10:05:50 am

we have not yet a release date. But we hope that we can share a first public beta in march 2012.

Monday 09 January 2012 11:05:50 am

Just a confirmation that I also ran into this problem and that Simon's work-around fixed my problem also.

Monday 09 January 2012 11:35:51 am

I met the problem too.

I create a skin "myskin" which include only html.tpl. But when I create the "CJW Newsletter List" object, I select both "html" and "text" for attribute "Newsletter output formats". My solution is to add a new text.tpl to the skin "myskin"

Thursday 12 January 2012 8:05:53 am

Hi, I checked the user manual but wasn't able to find an answer.

Is it possible to run lists with different subscribe permissions, specifically I would like to allow website members (who have eZ accounts) to subscribe to a private list and another that anonymous users can subscribe to.

Is this currently possible and if so how?

Thanks

Friday 27 January 2012 12:05:56 pm

Thank you for your reply !

Monday 30 January 2012 11:35:58 am

Hello !

Sometimes we need to create a newsletter in a more advanced editor than ezoe, with LibreOffice Writer for example, with table, cells, columns, colors, photos, etc...

I make newsletter in LibreOffice writer, then I copy-paste html code between <literal class="html"> and </literal>. This allow to keep styles, colors, etc...

I import photos manually also.

I tried to import a LibreOffice document into cjw_newsletter, but it creates an article, and not a cjw_newsletter document (cjw_newsletter_edition).

The advantage I've seen was the photos automatically going in Media Section.

Is there a way to import LibreOffice or OpenOffice document into cjw_newsletter ?

Monday 30 January 2012 4:35:55 pm

Hi,

import new object with odf import is set in odf.ini.append.php

<code>

[ODFImportSettings]

# Default class for import

DefaultImportClass=article

#DefaultImportClass=circular_letter

# Default class for making an image

DefaultImportImageClass=image

RegisteredClassArray[]=article

RegisteredClassArray[]=folder

RegisteredClassArray[]=image

RegisteredClassArray[]=documentation_page

ImportedImagesMediaNodeName=Imported images

PlaceImagesInMedia=false

</code>

But if you create a new dummy nl edition, and than export it and than edit and than import with odf it should work.

(The links for odf import + export we should add in the backend, in the websitetoolbar the links are already there)

Cheers Felix

Saturday 04 February 2012 11:05:53 pm

Hi!

For some reason cronjobs "cjw_newsletter_mailqueue_create" and "cjw_newsletter_mailqueue_process" are not working. I have enabled debug in cjw_newsletter.ini

[DebugSettings]

Debug=enabled

but can't see debug output.

Btw, why I can't delete aborted Newsletter editions from the system? Remove button is disabled and I have "You don't have permission to remove this item." ???!?!

Best regards,

Sinisa

Tuesday 14 February 2012 2:35:58 pm

Thank you I'll try this

Wednesday 22 February 2012 2:36:11 pm

Hello,

We've used the cjw_newsletter successfully in december to send a mailing. We're trying to send a second mail using the same cjw_newsletter_list, but no mails are send.

The cronjob status is:

0 - wait_for_process ( 22/02/2012 12:29 pm )

But running the cronjob for processing gives:

# ./runcronjobs.php -s default_user cjw_newsletter_mailqueue_create

>> START: check NlEditionSend objects with status STATUS_WAIT_FOR_PROCESS

>>> NlEditionSend objects with STATUS_WAIT_FOR_PROCESS found: 0

So no newsletter waiting for process is found.

Ez pub version is:Community Project 2011.6 (Community Project 2011.6)

any idea?

Tuesday 06 March 2012 4:05:59 pm

Hello

I would like to know the behavior of the extension when sending lot of mails. Because I have 9965 subscriptions and I'm afraid to start the cronjob (afraid to kill my server or to be blacklisted as spamer)...

Did someone already tested ?

Thanks for reply

Thursday 22 March 2012 11:05:57 am

Hi,

Can I find a cjw_newsletter version with all recent patches somewhere?

For exemple :

- Sender name encoding (http://projects.ez.no/cjw_newslet...eneral/sender_name_charset_encoding)

- Memory limit in bounce tracker (http://projects.ez.no/cjw_newsletter/forum/general/bounce_tracker)

etc.

The svn source is empty

Thanks happy.gif Emoticon

Wednesday 04 April 2012 4:05:57 pm

Hi,

Is there a way to include archive link in email body ?

Thanks !

Thursday 05 April 2012 11:06:00 am

Hi,

Finally I added a new placeholder : "#_hash_newsletter_#"

and I replace this in the cronjob...

Friday 06 April 2012 2:35:54 pm

Hey there,

In cjw_newsletter_documentation I can see 5 datatypes CJW Newsletter Article, Edition, List, Root, System. But in package (http://projects.ez.no/cjw_newsletter/downloads/cjw_newsletter_1_0_0) in datatypes directory there are only 2 of them and one new I can see there Edition, List and Subscription.

Actually documentation firstly says that CJW Newsletter Root should be just folder. But latter I can see all those 5 types on screenshot and one of them is CJW Newsletter Root.

Could someone please explain, how should I configure extension so it works blunk.gif Emoticon

 

Tuesday 10 April 2012 11:06:04 am

OK i mixed up datatypes with classes. My class package was installed wrong. Reinstallation helped, now it works fine blunk.gif Emoticon

Tuesday 17 April 2012 4:05:56 pm

I've got a system with multiple newsletters and if an existing user tries to sign up for another newsletter from the subscribe page, it doesn't subscribe them, it sends them a link to the configure page (where, of course, they can subscribe or unsubscribe.) This was a bit unexpected for me, but digging in the code, I found that this is the way it's designed -

In classes/cjwnewslettersubscription.php

<code>

case -1:

if( $context == 'subscribe' )

{

eZDebug::writeDebug( "checkResult[$checkResult] - CjwNewsletterSubscription::createSubscriptionByArray return false because email already exists" );

// break because a newsletter user with email exists

return false;

}

break;

</code>

and in modules/newsletter/subscribe.php

<code>

if ( is_object( $existingNewsletterUserObject) )

{

$tpl->setVariable( 'user_email_already_exists', $subscriptionDataArr['email'] );

// $existingNewsletterUserObject->sendSubriptionInfoMail();

$mailSendResult = $existingNewsletterUserObject->sendSubcriptionInformationMail();

</code>

I'm wondering if there is a reason for this logic? I can't think of any right now but it may blindness....

Wednesday 18 April 2012 9:35:54 am

Hey blunk.gif Emoticon

What I need is automatic editions, I did custom skin which fetches my latest articles and want to automatically send once a week articles from last week to my subscribers. I've created a CLI script which uses ez API to create cjw_newsletter_edition node. But it's not enough probably I need to add something to those cjw tables in database.

Could anyone help, I need some advice. Maybe there is some cjw api?

Please help.

Wednesday 18 April 2012 10:05:58 am

Hi,

I tried your solution, but I obtain "=?utf-8?Q?" in sender field...

Wednesday 02 May 2012 11:35:57 pm

new current status:

[ ] suggestion or enhancement / looking for funding

[ ] in specification / looking for final funding

[ ] funding nearly successful, in specification

[ ] funding successful, in development

[+] in development, beta version

Tuesday 08 May 2012 3:35:58 pm

I manage to figure it out. Basically what needs to be done is:

1. create nodes with ezApi

2. use CjwNewsletterEdition class to store data into "cjwnl_edition" table

3. use CjwNewsletterEditionSend class to store data into "cjwnl_edition_send" table

If needed, probably I could do some tutorial.

Cheers

Wednesday 16 May 2012 6:06:05 pm

Hi All ,

when i log in as "admin" i have all the functionality of newsletter and i can see the newsletter-system and its sub-items as a tree in the left menu (when i navigate to newsletter tab of course)

 

BUT

when i log-in as another user which has the same power as admin about newsletter, i cannot see the newsletter-system as a tree in the left menu ! (I have all posibilities like creating and sending newsletter)

 

why is it so ? any help ?

 

Thanks in Advance

Friday 18 May 2012 4:35:58 pm

Hi Amir,

thank's for your Postcard blunk.gif Emoticon. You are the first one.

...

Your problem with an other user ... this should work. Has the user realy the same rights as the admin?

e.g. newsletter/index ...

Cheers

Felix

Friday 18 May 2012 6:06:03 pm

Hi Felix ,

You're welcome, it was the minimum appreciation for your job

 

Happy to hear that i am the FIRST blunk.gif Emoticon

 

--------------------

about the problem :

I have give all modules with all functions to new user and newsletter with all functions but the problem still exists !

So i guess it is not role and policy problem !

Any more guess ?

 

Tuesday 22 May 2012 9:06:04 am

I also have this problem, i cant run shell_exec(), is there any workaround?

Friday 01 June 2012 11:36:15 am

Hello !

i'm looking for the method to remove mass subscriptions from the interface ?

I want to make an upgrade of my list et before importing the new database i need to remove all subrisciption.

Any ideas?

Thanks a lot.

Jérémy

Friday 14 September 2012 4:06:08 pm

HI all

great project!!

But I have the same question!!!

How can I remove archived editions??? Is only possible removing the newsletter???

Isn't possible to add a button to remove editions used for testing purpose????

Thanks all!!

Giuseppe

Tuesday 02 October 2012 11:36:04 am

Hi All ,

we have a booking system and we want to automatically subscribe every booking's Email address in the Newsletter !

How is that possible ?

Any way except workflow and if with workflow , how can i push the information in the list ?

Monday 24 December 2012 2:06:18 am

Hi guys !

 

I got exactly the same error

How did you solve it Ivo ? just a small problem in xml Editor ???

nothing more ??

Monday 14 January 2013 3:06:25 pm

Hi ,

I just wanted to have a HTML_view for my Newsletter and write down inside the newsletter "If you don't see this correct click here " and then redirect them to an HTML view !

 

We have a quite similar module already inside extension which we can change and use it for this purpose called "preview_archive" but the only problem I have is we cannot change the template a little bit ! So if I write the [[name]] inside template or write this sentence there is no possible way to exclude them in HTML View.

Do you have any trick or any new way to do this ?

Thanks in Advance

Monday 22 April 2013 6:36:26 am

Could we have an update on CJW Newsletter please. There has been no updates or almost a year and I see it does not support eZ 5.

Has this been abandoned?

Thanks

Tuesday 11 June 2013 10:06:41 am

Hi there,

is it possible to configure cjw_newsletter to use different content classes for newsletter aggregation?

Thans in advance // nielo

Tuesday 18 June 2013 12:06:42 pm

Hi Niels

the composition of the newsletter is fully customizable with the use of templates. Simply create a new skin based on the files you find in

extension/cjw_newsletter/design/standard/templates/newsletter/skin/default/outputformat

and put any logic you like in there.

regards

Donat

 

Wednesday 17 July 2013 2:06:45 pm

Hi,

is it possible to detect in newsletter skin template (html.tpl), that the newsletter is in preview mode or test e-mail mode?

We use UTM Google Analytics parameters to track clicks in our newsletters, but we would like to disable those when sending test newsletters around in order not to polute the statistics.

Thanks!

Monday 05 August 2013 10:06:41 am

Hi Bartek,

I was able to create a new cjw_newsletter_edition by code using eZContentFunctions::createAndPublishObject,

 

$user = eZUser::currentUser();

$params = array();

$params ['class_identifier'] = 'cjw_newsletter_edition';

$params['creator_id'] = $user->ContentObjectID;

$params['parent_node_id']=12118;

$attributesData = array ( ) ;

$attributesData['title'] = 'Test';

$attributesData['short_title'] = 'Test';

$params['attributes'] = $attributesData;

$object = eZContentFunctions::createAndPublishObject($params);

but the newsletter created that way are not editable ... maybe some attributes not set correctly ?

Can you detail how you managed to create your objects ?

Thanks

Thursday 08 August 2013 2:06:35 pm

The same to me, did you find any solution?

Friday 18 October 2013 10:35:37 am

Hello

I had the problem and I solved it by replace the getAvailableSiteaccessList function.

I use the eZINI class to read in the site.ini.

Here is the new function :

<code>

function getAvailableSiteaccessList()

{

$ini = eZINI::instance( 'site.ini' );

$availableSiteAccessListArray = $ini->variable('SiteAccessSettings', 'AvailableSiteAccessList' );

$availableSiteAccessListInfoArray = array();

foreach ( $availableSiteAccessListArray as $siteAccessName )

{

 

$siteIni = eZINI::getSiteAccessIni($siteAccessName, 'site.ini');

if ( is_object( $siteIni ) )

{

$locale = $siteIni->variable( 'RegionalSettings', 'Locale' );

$siteUrl = $siteIni->variable( 'SiteSettings', 'SiteURL' );

}

$availableSiteAccessListInfoArray[ $siteAccessName ] = array( 'name' => $siteAccessName,

'locale' => $locale,

'site_url' => $siteUrl );

}

return $availableSiteAccessListInfoArray;

}

</code>

The shell_exec function has been deleted in PHP 5.4 version...

Hope this help

Regards

 

Tuesday 08 July 2014 11:35:39 am

We can confirm that CJW Newsletter is running smoothly in the eZ Publish 5.x Legacy Stack.

Furthermore we are in the process of porting the newsletter datatype to the Symfony stack. This will allow you to use CJW Newsletter in a pure eZ Publish 5 environment.

 

Tuesday 24 March 2015 5:05:45 pm

Hello everybody !

I'm having troubles sending attachments with my newsletters.

I have added a file attribute with identificator "nl_attachment" in the CJW Newsletter Edition Class so I can upload a file that I can attach to the mail.

The file uploads in var/storage folder with a random name.

But I really don't know how to get the name of the uploaded file in my sendEmail method of cjwnewslettermail.php and put it in the $mail->addAttachment(path) method.

How can I access the attribute "nl_attachment" and get the filename field ?

Thursday 26 March 2015 4:05:44 am

Hello Braik,

Welcome to the eZ Community!

I have answered your message on share.ez.no forums on the same topic: http://share.ez.no/forums/develop...sletter-file-attachment#comment86238

Cheers,

Heath

Thursday 23 April 2015 11:35:43 am

Hi,

i'm trying to install CJW Newsletter on my ezpublish 4.3 but when i try to create the CJW Newsletter List, some errors are thrown.

For exemple i'm selecting HTML as Available newsletter output formats and when i validate the form an error tell me : You have to choose an output format.

i've dumped the vars in cjwnewsletterlisttype.tpl and the Http->hasPostVariable return false ...

any ideas ?

Thursday 02 July 2015 5:05:43 pm

I need some urgent help please. I've installed CJW Newsletter on behalf of a client who needs to use it during a launch within a week. Everything has been running very well right up until I did the first newsletter test run. Preview emails get sent out fine but not newsletter via crontab at all, they get struck in

It seems that ezpublish_legacy/extension/cjw_newsletter/cronjobs/cjw_newsletter_mailqueue_process.php cronjob is not found. We tried running it via

php runcronjobs.php cjw_newsletter_mailqueue_process

and

php ezpublish/console ezpublish:legacy:script runcronjobs.php cjw_newsletter_mailqueue_process

With no results: it does not seem to use the correct cronjob.ini and uses the default site.ini from settings/site.ini which does not have the right database credentials also.

When the news http://projects.ez.no/cjw_newslet...news/cjw_newsletter_and_ez_publish_5 was made was the cron process function tested?

Thank you

Thursday 15 October 2015 6:05:38 pm

Hello,

I get the same problem.

Did you find a solution ?

Thanks for your reply.

 

Monday 23 August 2010 5:10:39 pm

Hi,

I agree the link is a bit small (I haven't seen it, but now it's ok).

It would be better to see a button, at the end of the line for example.

Monday 30 August 2010 2:35:36 pm

Hi,

I've not found any button to remove an user from the blacklist.

Does the process exist?

Monday 30 August 2010 3:35:37 pm

Hi,

I'm trying to send newsletters but I get a PHP error while executing the cjw_newsletter_mailqueue_process cronjob :

An unexpected error has occurred. Please contact the webmaster.

error.log contains :

[ Aug 30 2010 15:06:40 ] Unexpected error, the message was : The value '' that you were trying to assign to setting 'body' is invalid. Allowed values are: ezcMailPart. in www\lib\ezc\Mail\src\mail.php on line 197

Note : I've followed instructions from the INSTALL document.

any idea ?

Monday 30 August 2010 5:05:31 pm

Hi Clément,

I've had this problem, too, some weeks ago... hmmm trying to remember... I think there was an user in my newsletter list who had set output format to "Text", but my newsletter edition only supported "HTML" format.

So, if there's a comparable inconsitent list entry in your list, eventually it helps to set this entry (or entries) to a supported format.

If this one^^ helps in your case we should open an issue for Felix blunk.gif Emoticon

 

Tuesday 31 August 2010 12:05:38 pm

My newsletter list supports the two output format ...

But I have the same error if I try to send a test newsletter :/

Tuesday 31 August 2010 2:05:31 pm

OK, there is a little Patch I've done on classes/cjwnewslettersubscription.php. This a very dirty one, but it helped me. Don't use this in a productive environment - but it would be nice if you just test it - it works around an unhandled condition in CjwNewsletterUser::checkIfUserCanBeUpdated

<code>

Index: cjwnewslettersubscription.php

===================================================================

--- cjwnewslettersubscription.php (Revision 131)

+++ cjwnewslettersubscription.php (Arbeitskopie)

@@ -600,11 +600,13 @@

 

break;

case -20:

- case -1:

eZDebug::writeDebug( "checkResult[$checkResult] - CjwNewsletterSubscription::createSubscriptionByArray return false because email already exists" );

// break because a newsletter user with email exists

return false;

break;

+ case -1:

+

+ break;

}

 

$idArray = $subscriptionDataArr['id_array'];

</code>

Tuesday 31 August 2010 3:05:33 pm

Thank you for your reply, but it's seems not working here :/

Tuesday 31 August 2010 3:35:30 pm

This project looks very promising. Unfortunately it has been very quiet lately. What is the current status? Is there any progress being made? And if so, why aren't you using the repository?

Cheers!

Sander

Friday 17 September 2010 4:35:37 pm

Hi Felix, hi Paul,

I will also be interrested about any news related to your project.

Does your solution allow one to attach a file (ie: PDF Newsletter) to a newsletter ?

Also, I am testing your solution, but did not get the meaning of "Newsletter System" object and how we provide the subscription UI to the end user. Is it explained somewhere ?

I read that you are waiting for the release of 4.4 before providing a doc, but if you can give some clue...

Thanks for this very promising extension,

Hakim

Friday 17 September 2010 5:05:33 pm

hi,

the newsletter is still in certification process.

...

we have internaly a newer nl version - may be it is time to create a new package for public testing

...

At the moment you can not attach a file to the newsletter - should be an interesting enhancement. If you have special need for we could implement it.

Please write a detailed use case here http://projects.ez.no/cjw_newsletter/forum/feature_requests

thank's

Felix

 

Saturday 18 September 2010 9:35:31 am

Hi,

>>we have internaly a newer nl version - may be it is time

>>to create a new package for public testing

That would be great !

Thanks,

Hakim

Thursday 23 September 2010 5:05:35 pm

Hi Maxime,

thank's for your feedback.

At the moment their is no api for this fields.

The idea is for

- data_text: you can store what you want in that field , custom xml, comma separated list ...

=> usefull at the moment for import

- data_xml. in the future i want to implement the possibitlity to add custom attributes in the nl admin - so do not use this field at the moment!

in bose cases you have to write your own php functions.

Cheers

Felix

Members - Visit project's team page
Real name:
Felix Woldt
Country:
Germany 
#Posts:
174
Real name:
Paul Borgermans
Country:
Belgium 
#Posts:
1336
  • Forum moderator
  • share.ez.no team
Real name:
Donat Fritschy
Country:
Switzerland 
#Posts:
139
Real name:
Ekkehard Dörre
Country:
Germany 
#Posts:
479
Project reviews - See all reviews

Monday 23 May 2011 10:36:01 am

Thanks !
Very grate and usefull extension...

I added an analytics feature, and it's perfect !

Thursday 30 June 2011 1:05:57 pm

very good system. based and works with eZ-feeling

Wednesday 30 November 2011 9:35:49 am

Since a few years I volunteer for a NGO called Ingenieure ohne Grenzen e.V. We decided a few years back to settle for eZPublish as our CMS. Most of the times we are very happy with this decision, sometimes it just makes us want to pull our hair out. A while back we were looking for a extension to enable us sending a centralized newsletter. As an NGO we have a very tight budget on non-project expenses. Like us others luckily also work open source and thus there were a few solutions available. We were looking at something, which was first easy to install, second would enable a small team of editors to easily generate content and third simple to handle for the front user. After testing different extension we settled with CJW Newsletter, since it straight forwardly fulfilled all of our three basic demands. Since then we have never looked back. If I wanted to be nagging I could say we had trouble with making the bouncing mechanism work and some other small glitches, but hey: it's open source, which means one has been given it at hand for free and if one wants support one pays for it. It is definitely a superb deal. I believe that the INSTALL file is very straight forward for getting a basic installation to work. The first thing one would stumble across as a non-eZPublish user is the ini-settings mechanism when starting to fine-tune the installation, but it's not a CJW Newsletter issue and there is good background information material available. Once installed the interface speaks for itself. The newsletter tab switches for all newsletter related information as expected. All relevant information is being displayed on the dashboard page. Newsletters are easy to generate and even easier to preview both in browser as per Email in txt/html-Format. Our editors have never even asked a question about how to use the newsletter. We have roundabout 1300 subscribers for a monthly newsletter. The cronjob handles this amount of email very well even on a small virtual machine. So what I want to say short: Thanks very much CJW for publishing this extension open source. We will not be able to contribute to the funding of version 2.0, but we are very glad that the story continues.

Monday 23 August 2010 5:10:39 pm

Fatal error: Call to a member function unserializeContentClassAttribute() on a non-object in /home/user/public_html/ezpublish-4.3.0/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 390
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/*
Proudly Developed with from