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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:16:43
Script start
Timing: Jan 18 2025 02:16:43
Module start 'layout'
Timing: Jan 18 2025 02:16:43
Module start 'content'
Timing: Jan 18 2025 02:16:44
Module end 'content'
Timing: Jan 18 2025 02:16:44
Script end

Main resources:

Total runtime0.7383 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.1641152.6563
Module start 'layout' 0.00780.0023 740.820339.5078
Module start 'content' 0.01010.7267 780.3281555.5703
Module end 'content' 0.73680.0014 1,335.898412.1094
Script end 0.7382  1,348.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4147160.0002
Check MTime0.00120.1664160.0001
Mysql Total
Database connection0.00070.097210.0007
Mysqli_queries0.685892.8887570.0120
Looping result0.00040.0566550.0000
Template Total0.709496.120.3547
Template load0.00180.248520.0009
Template processing0.707595.834520.3538
Template load and register function0.00010.013010.0001
states
state_id_array0.00080.105110.0008
state_identifier_array0.00070.096720.0004
Override
Cache load0.00150.2090610.0000
Sytem overhead
Fetch class attribute can translate value0.00050.068820.0003
Fetch class attribute name0.00140.183940.0003
XML
Image XML parsing0.00170.223720.0008
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00190.2621160.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
18content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 50
 Number of unique templates used: 10

Time used to render debug report: 0.0001 secs