Forums / Install & configuration / cjw newsletter, no mails sent

cjw newsletter, no mails sent

Author Message

Patrick Maynard

Thursday 14 October 2010 2:08:12 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.

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

Is it better to post here or on projects.ez.no for questions about an extension ?


Thank you.

Patrick Maynard

Thursday 14 October 2010 4:33:40 am

Hello !

I have forgotten two parameters in cjw_newsletter.ini.append.php :

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

eZ debug

Timing: Jan 18 2025 15:11:23
Script start
Timing: Jan 18 2025 15:11:23
Module start 'content'
Timing: Jan 18 2025 15:11:23
Module end 'content'
Timing: Jan 18 2025 15:11:24
Script end

Main resources:

Total runtime0.1956 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 587.8281180.8359
Module start 'content' 0.00810.0060 768.664197.9297
Module end 'content' 0.01420.1814 866.5938537.2891
Script end 0.1956  1,403.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.8165200.0002
Check MTime0.00130.6781200.0001
Mysql Total
Database connection0.00180.941710.0018
Mysqli_queries0.144874.02921410.0010
Looping result0.00150.78591390.0000
Template Total0.181192.610.1811
Template load0.00080.403310.0008
Template processing0.180392.160110.1803
Override
Cache load0.00050.261710.0005
Sytem overhead
Fetch class attribute can translate value0.00100.497410.0010
XML
Image XML parsing0.00020.122110.0002
General
dbfile0.00391.9763200.0002
String conversion0.00000.003730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs