Closed (fixed)
Project:
HTML Mail
Version:
6.x-2.56
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jun 2011 at 17:05 UTC
Updated:
10 Jul 2011 at 03:31 UTC
Hi,
when i use a cron task to send my newsletters (with simplenews), if a theme is used in htmlmail, the mail is not send.
The error is : "Refusing to send a blank email to ..."
If no theme is used, the mail is send
What can i do ?
Thanks for your help
sorry for my poor englih
Comments
Comment #1
pillarsdotnet commentedThat error means that the theme produced a WSOD or otherwise returned no data at all.
Please tell me whether you have any of the following modules installed:
Also, if you have customized the
htmlmail-simplenews.tpl.phpfile, please upload or send me your customized version.Comment #2
pillarsdotnet commentedI have made some changes to HTML Mail 6.x-2.57 that should help find the cause of the problem. Be sure to check the
admin/reports/dblog(Recent log entries) for messages of Type: htmlmail.Comment #3
devtux commentedI have installed the new version. The error messages make me progress in my problem.
But with this version i d'ont have the choice of the theme (step 2 not appear).
However, the problem came from my method of starting te cron.php.
I used the command line "/usr/bin/php http://mysite/cron.php" and with this the path variable ar not correct
with this command line "wget -O - -q -t 1 http://www.example.com/cron.php", all is correct.
My problem is that my site is on a server where i can't use wget or lynx, so if you have an idea ...
Sorry for this bug, htmail works fine and my problem is not due to this module
Thanks for you help
Comment #4
pillarsdotnet commented