Forums / Extensions / eZ Newsletter / send newsletter et userhash pb

send newsletter et userhash pb

Author Message

Anthony M.

Monday 10 March 2008 6:41:33 am

Hi,

when i click on the "send preview" button, it works, i can see my newsletter into the mail, but when i use the cronjob to send the newsletter, the mail is empty... do you know why ?

otherwise, what is the [userhash] in the url ?
for example : http://domain.com/newsletter/read/[userhash]/62
is it a number ? how it works ?

thanks for your help

Anthony

Sylvain Guittard

Monday 10 March 2008 7:03:15 am

Hi Anthony.

For the empty mail, I still have no solutions.

About userhash: it's a number that will be generated when sending the newsletter. This number is specific to the registered user.

http://www.vignevin-epicure.com
http://twitter.com/vignevinEPIcure

Anthony M.

Monday 10 March 2008 7:11:27 am

thanks Sylvain

is it normal that the hash isn't generated with the preview ? (ie when i click on the 'send preview' button)

for the blank mail, it's really strange that it's ok with the preview and not with the cronjob, maybe a pb of permissions ?

Anthony

Andrei H.

Monday 10 March 2008 12:27:11 pm

Hi Anthony,

please check your cronjob, if you have specified a siteaccess. Just look for the '-s' parameter.

/runcronjobs.php -s newsletter_editor send_newsletter

Without a siteaccess you will always see a blank page, because your cron-script have to know, which templates should be used.

See also: http://ez.no/download/add_ons/ez_newsletter/installation_instructions_for_ez_newsletter_1_5beta1

Anthony M.

Tuesday 11 March 2008 1:48:41 am

Hi,

i have specified the siteaccess "newsletter_editor" like that :

php runcronjobs.php -s newsletter_editor build_list

and

php runcronjobs.php -s newsletter_editor send_newsletter

but always nothing...

may i update the permissions for the users ?

Thanks

Anthony

Anthony M.

Tuesday 11 March 2008 2:39:09 am

i think that my problem is a bug, look at that :

http://issues.ez.no/IssueView.php?Id=10587&ProjectId=7&Anchor=Comment252196">http://issues.ez.no/IssueView.php?Id=10587&ProjectId=7&Anchor=Comment252196

there is a solution for that ? i don't see how can i resolve this pb...

Anthony