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: [email protected]
x-cjwnl-user: 9433b566d4e1ea2609e537a658b86036
From: Example Newsletter Sender <[email protected]>
MIME-Version: 1.0User-Agent: eZ Components
Date: Tue, 08 Jun 2010 15:19:51 +0200
Message-Id: <[email protected]>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Return-Path: <[email protected]>
To: [email protected]
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 [email protected]

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