Forums / Extensions / eZ Newsletter / Preview not being sent

Preview not being sent

Author Message

Paolo De Dionigi

Tuesday 08 July 2008 11:23:48 am

Hello,

environment: ezpublish 3.9.4 (php4)
newsletter: 1.5.3

If we try to sendout the newsletter preview, we obtain a message that says that the draft was successfully saved, but the mail never arrives.

We are using sendmail and it works regularly with mail from forms.

Where we have to look to understand if we must change something in our settings or if there's something wrong with the server? (I doubt since the mail from the forms are ok).

Thanks in advance

Paolo De Dionigi

Thursday 10 July 2008 11:12:12 am

Ok, now it works, it was the problem with -V for sendmail. (http://issues.ez.no/IssueView.php?Id=8275)

Removing the -V parameter, the preview started arriving.

Now, another question: it seems that the cronjob isn't working...

If manually launched it gives no error, but the newsletter aren't sent.

So the question: does the newsletter sending process uses same class and functions of the preview sending process?

IE: I saw that the preview sending process uses the function sendMail of the class eZNewsletterSendmailTransport, in file extension/eznewsletter/classes/eznewslettersendmailtransport.php (since we use sendmail as transport method).

Is this the same file used by the newsletter sending process? Otherwise I'll have to search the correct one used and remove the -V parameter there aswell.

If the file is the same, any hints about what to checkto understand why our newsletter are not being sent?

Thank you