Forums / Install & configuration / CJW Newsletter : confirm mails not sent to subscribers

CJW Newsletter : confirm mails not sent to subscribers

Author Message

Pascal France

Tuesday 08 June 2010 7:04:28 am

Hi,

While the test mail is well sent from the admin interface, the subscription confirmation mails are not sent to the subscribers by the subscribe public page.

In var/log/mail/ there are many files like that:

  • 1276003191-127264000-cjw_nl.mail

Example of content of one of these files:

x-cjwnl-version: 1.0.0beta
x-cjwnl-receiver: advil4004@gmail.com
x-cjwnl-user: 9433b566d4e1ea2609e537a658b86036
From: Example Newsletter Sender <chapellemontduchat@gmail.com>
MIME-Version: 1.0User-Agent: eZ Components
Date: Tue, 08 Jun 2010 15:19:51 +0200
Message-Id: <201006081515851.7644.0@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Return-Path: <chapellemontduchat@gmail.com>
To: advil4004@gmail.com
Subject: =?utf-8?Q?[Mairie=20Chapelle=20du=20Mont=20du=20Chat]=20V=C3=A9rifi?= =?utf-8?Q?cation=20de=20la=20souscription?=

Bonjour Pascal BOYER
Merci de vous être abonné à la newsletter - Newsletter N°1
Afin d'activer ou d'éditer votre souscription, veuillez suivre le lien suivant:
http://linuxorable.fr/siteaccess/index.php/siteaccess/newsletter/configure/9433b566d4e1ea2609e537a658b86036

But any mail sent to advil4004@gmail.com

I've tested other receiver mail box and the problem is the same.

Thanks for your help,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Philip K.

Wednesday 09 June 2010 1:10:49 am

Hi Pascal,

seems that your settings in cjw_newsletter.ini are set to the wrong values.

Check:

[NewsletterMailSettings]
# smtp, sendmail, file

# newsletter
TransportMethodCronjob=sendmail

# test newsletter
TransportMethodPreview=sendmail

# subscribe, infomail
TransportMethodDirectly=sendmail

# where to store mails send by TransportMethod = file
FileTransportMailDir=var/log/mail

If you set these settings to "sendmail" you will receive an email. Otherwise (file) emails will be stored in var/log/mail folder.

Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Pascal France

Wednesday 09 June 2010 6:36:09 am

Hi Philip,

You are absolutely right.

I had finally found that the problem came from there.

Cordially,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

eZ debug

Timing: Jan 29 2025 13:39:04
Script start
Timing: Jan 29 2025 13:39:04
Module start 'content'
Timing: Jan 29 2025 13:39:04
Module end 'content'
Timing: Jan 29 2025 13:39:04
Script end

Main resources:

Total runtime0.1219 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.0050 588.1797180.8047
Module start 'content' 0.00500.0050 768.984494.6953
Module end 'content' 0.01000.1118 863.6797529.4063
Script end 0.1219  1,393.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00262.1263200.0001
Check MTime0.00110.8867200.0001
Mysql Total
Database connection0.00070.567610.0007
Mysqli_queries0.087371.61191410.0006
Looping result0.00090.72461390.0000
Template Total0.111691.510.1116
Template load0.00060.500210.0006
Template processing0.111091.042410.1110
Override
Cache load0.00040.328110.0004
Sytem overhead
Fetch class attribute can translate value0.00060.465910.0006
XML
Image XML parsing0.00030.205910.0003
General
dbfile0.00443.5705200.0002
String conversion0.00000.004130.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.0001 secs