can't send any newsletter

You need to be logged in to post messages in the forums. New users may register here.

Clément Matéo

Member since:
23 February 2010

Posts: 13

Monday 30 August 2010 6:16:06 am

Hi,

I'm trying to send newsletters but I get a PHP error while executing the cjw_newsletter_mailqueue_process cronjob :
An unexpected error has occurred. Please contact the webmaster.

error.log contains :
[ Aug 30 2010 15:06:40 ] Unexpected error, the message was : The value '' that you were trying to assign to setting 'body' is invalid. Allowed values are: ezcMailPart. in www\lib\ezc\Mail\src\mail.php on line 197

Note : I've followed instructions from the INSTALL document.

any idea ?
Up

Stephan Rompel

Member since:
14 July 2010

Posts: 5

Monday 30 August 2010 7:48:58 am

Hi Clément,

I've had this problem, too, some weeks ago... hmmm trying to remember... I think there was an user in my newsletter list who had set output format to "Text", but my newsletter edition only supported "HTML" format.
So, if there's a comparable inconsitent list entry in your list, eventually it helps to set this entry (or entries) to a supported format.

If this one^^ helps in your case we should open an issue for Felix ;)
Up

Clément Matéo

Member since:
23 February 2010

Posts: 13

Tuesday 31 August 2010 3:01:22 am

My newsletter list supports the two output format ...

But I have the same error if I try to send a test newsletter :/
Up

Stephan Rompel

Member since:
14 July 2010

Posts: 5

Tuesday 31 August 2010 5:04:28 am

OK, there is a little Patch I've done on classes/cjwnewslettersubscription.php. This a very dirty one, but it helped me. Don't use this in a productive environment - but it would be nice if you just test it - it works around an unhandled condition in CjwNewsletterUser::checkIfUserCanBeUpdated














































Up

Clément Matéo

Member since:
23 February 2010

Posts: 13

Tuesday 31 August 2010 5:52:16 am

Thank you for your reply, but it's seems not working here :/
Up

Clément Matéo

Member since:
23 February 2010

Posts: 13

Thursday 30 September 2010 1:15:35 am

Hi,

I solve the error. I think it was my mail configuration which wasn't good in cjw_newsletter.ini. it seems to be ok now
Up

You need to be logged in to post messages in the forums. New users may register here.