Forums / Extensions / eZ Newsletter / Newsletters not received

Newsletters not received

Author Message

Karl Linder

Monday 02 February 2009 2:36:37 am

Hi.

I'm new to EzPublish especially with the EzNewsletter extension.

I'm trying to test newsletter sending but without any success.

I've created several newsletters via the admin interface, under the Newsletter tab, but when clicking on the "Send preview" button, I have no more newsletter on my email box. I'm just trying to send newsletter to my own email address just to test it works fine.

All newsletter newly created are marked "not sent" in their status.

I erased date and time when creating a preview but no newsletters are sent.

Here are my email settings in the site.ini.append.php :

[MailSettings]
Transport=smtp
TransportServer=127.0.0.1

And here my settings in the eznewsletter.ini.append.php ;

<?php /*
#[HostSettings]
# Set the default host for sent newsletters here
#defaulthost=http://yourfrontpage.com

[HostSettings]
defaulthost=http://127.0.0.1/ez2/index.php

[NewsletterAutomapping]
autoMapping=enabled
newsletter_issue[pretext]=pretext
newsletter_issue[posttext]=posttext

[NewsletterAutomapping]
# Enable if attributes of the newslettertype should be mapped to the content object
autoMapping=disabled
# Define the mapping (shema: contentClass[contentClassAttribute]=newsletterTypeAttribute)
# Example if you want to map the attribute 'pretext' from the newsletterType to the attribute 'pretext' of the 'newsletter_issue' content class you do the following
# newsletter_issue[pretext]=pretext
#newsletter_issue[pretext]=pretext
#newsletter_issue[posttext]=posttext

[NewsletterSendout]
#Select transport class for newsletter sendout. Valid values are SMTP, sendmail or File for pregeneration.
#If SMTP selected, SMTP server must be defined in siteaccess or override settings.
#
#Transport class for preview sendout
PreviewTransport=smtp
#Transport class for newsletter sendout via cronjob
Transport=smtp

[NewsletterTypeSettings]
# Class limitation prevents the use of classes as newsletter which are not in this list, if empty all classes can be used
#ClassLimitation[]
#ClassLimitation[]=newsletter_issue

[NewsletterReadcount]
# If confidentRedirect is enabled the read module will not check if the given object has been sent with the newsletter
# This is usefull when you want to count clicks on links which are not in the relation to this object but added by the template
confidentRedirect=enabled
# Possible redirectTargets are:
# object = after readcount the user will be redirected to the view of the given object
# newsletter = will redirect the user to the view of the newsletterobject and adds the object as a viewparameter
redirectTarget=newsletter

[RecurrenceSettings]
conditionExtensions[]

*/ ?>

What could be the causes of this problem ?

What do I have to configure and where please ?

Thank you for your help.

Best regards,

Peretjatko Alexandre

Monday 02 February 2009 5:21:29 am

Hi Karl,

What newsletters version did you installed ?
When you press the "preview" button, did you see your newsletter in the back Office ?
If not, you might have a templating problem.

An other way to look at : Did you receive any mail from your server( not specially from eznewsletter ) ? If not, you might have a problem with the smtp or sendmail.

Alex.

Regards

Alex.
--------------------------------------------------------------
Personnal website : http://www.alex-design.fr

Karl Linder

Monday 02 February 2009 5:54:46 am

Hi Peretjatko Alexandre

Thank you very much for answering so quickly.

I have installed the 1.6 eznewsletter version.

What do you mean exactly by "seeing my newsletter in the Back-Office" when pressing the "preview" button ? Do you mean that, when I press the "preview" button, should I see my newsletter imediatly after pressing this button (like in a preview view) or should I see it after a search process in the B.O ?

Anyway, I will test email sending with a feedback form. However, I must tell you that I can already receive a confirmation email just after my registration for the newsletter in the Front Office. So I draw the conclusion that the email protocol works fine.

Thanks again for your help.

Karl Linder

Monday 02 February 2009 7:12:40 am

Well,

I have just tested email sending after submitting a message through feedback form and I can receive a new email.

So I can conclude that I have no problem with sendmail protocol.

Any idea of the cause of that problem ?

Do I have a task to make in the eznewsletter configuration files ?

Peretjatko Alexandre

Monday 02 February 2009 7:39:56 am

Version 1.6 ?
Did you use this newsletter : http://ez.no/developer/contribs/applications/ez_newsletter ? The last version is 1.5.2 ( 1.5.3 is in beta I've read somewhere ). Is it a new release or an other extension ?

What do you mean exactly by "seeing my newsletter in the Back-Office" when pressing the "preview" button ? 

You shoud have a preview button in the newsletter template that show you a preview ( in an iframe ) in the Back Office of your newsletter. And, yes you should see the newsletter before sending it.

You should have a "send button" ( or something like that ) to make a custom sending to a specific e-mail.

May be some others tasks to check :

- Did you add any user ( your email ) in a newsletter-list ?
- For that user, what kind of output format did you choose ?
- In the newsletter type did you select the correct newsletter-list ?
- For the newsletter did you select the correct output format ?
- Is your "sending" cron job correctly executed ?

Hopping that helps.

Regards

Alex.
--------------------------------------------------------------
Personnal website : http://www.alex-design.fr

Karl Linder

Monday 02 February 2009 8:06:51 am

Thank you for your help.

Actually I can see the preview of my newsletter in the B.O.

I have also checked my subscription list, and my own email address is in it with "approved" status.

I have also checked the output format issues and everything is okay.

What do you mean exactly by "sending" cron job correctly executed ? How can I check that ?

Thanks in advance.

Peretjatko Alexandre

Monday 02 February 2009 8:13:36 am

What do you mean exactly by "sending" cron job correctly executed ? How can I check that ?

In your web-server error logs.

Did you received the newsletter when you use the "send preveiw" button ?

Regards

Alex.
--------------------------------------------------------------
Personnal website : http://www.alex-design.fr

Karl Linder

Monday 02 February 2009 8:15:56 am

Actually I use this new recent version of eznewsletter :http://ez.no/fr/download/add_ons/ez_newsletter/ez_newsletter_unstable_releases/1_6/1_6_0beta

It's meant for eZ Publish 4.0. Actually I use eZ Publish 4.1.

Karl Linder

Monday 02 February 2009 8:18:26 am

No unfortunately.

No newsletter received after pressing the button.

Karl Linder

Monday 02 February 2009 8:31:55 am

I have these lines in my web-server errors log :

127.0.0.1 - - [02/Feb/2009:17:01:33 +0100] "GET /ez2/design/site_admin/images/newssite.jpg HTTP/1.1" 404 367 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:01:41 +0100] "POST /ez2/index.php/inc_admin/newsletter/edit_type/4 HTTP/1.1" 302 244 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:01:41 +0100] "GET /ez2/index.php/inc_admin/newsletter/list_type HTTP/1.1" 200 45915 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:01:46 +0100] "GET /ez2/index.php/inc_admin/newsletter/view_type/4 HTTP/1.1" 200 50170 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/list_type" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:01:51 +0100] "GET /ez2/index.php/inc_admin/newsletter/subscription_list/inc HTTP/1.1" 200 49370 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:01:55 +0100] "GET /ez2/index.php/inc_admin/newsletter/subscription_list/inc HTTP/1.1" 200 49370 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:02:24 +0100] "GET /ez2/index.php/inc_admin/newsletter/subscription_list/inc HTTP/1.1" 200 49370 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:02:39 +0100] "POST /ez2/index.php/inc_admin/newsletter/view_type/4 HTTP/1.1" 302 240 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:02:39 +0100] "GET /ez2/index.php/inc_admin/content/edit/442/1 HTTP/1.1" 200 60954 "http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
127.0.0.1 - - [02/Feb/2009:17:02:52 +0100] "POST /ez2/index.php/inc_admin/content/edit/442/1/eng-US HTTP/1.1" 200 61139 "http://127.0.0.1/ez2/index.php/inc_admin/content/edit/442/1" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4"
oroy@fdumay-desktop:/etc/init.d$ sudo tail /var/log/apache2/access.logexit
tail: Ne peut ouvrir `/var/log/apache2/access.logexit' en lecture: Aucun fichier ou dossier de ce type
oroy@fdumay-desktop:/etc/init.d$ sudo tail /var/log/apache2/error.log
[Mon Feb 02 17:01:26 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSendNewsletterItem::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsendnewsletteritem.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/list_type
[Mon Feb 02 17:01:31 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4
[Mon Feb 02 17:01:33 2009] [error] [client 127.0.0.1] File does not exist: /var/www/ez2/design/site_admin, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4
[Mon Feb 02 17:01:33 2009] [error] [client 127.0.0.1] File does not exist: /var/www/ez2/design/site_admin, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4
[Mon Feb 02 17:01:41 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/edit_type/4
[Mon Feb 02 17:01:46 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/list_type
[Mon Feb 02 17:01:46 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSendNewsletterItem::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsendnewsletteritem.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/list_type
[Mon Feb 02 17:01:51 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4
[Mon Feb 02 17:01:55 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4
[Mon Feb 02 17:02:24 2009] [error] [client 127.0.0.1] PHP Strict Standards:  Declaration of eZSubscriptionList::count() should be compatible with that of eZPersistentObject::count() in extension/eznewsletter/classes/ezsubscriptionlist.php on line 0, referer: http://127.0.0.1/ez2/index.php/inc_admin/newsletter/view_type/4