Hello,

I'm using echo in conjunction with HTML Mail. At the moment I have an error in the emails that are sent using HTML Mail which contain a 404 error on /echo. Could this error be related to the echo module?

404 Not Found

The server can not find the requested page:

dev.cultureworks.ca/echo (port 80)

Please forward this error screen to dev.cultureworks.ca's WebMaster.

More info on my configuration and testing #1823270: 404 Error in the HTML Mail queue

Comments

arosboro’s picture

Had a similar problem resolved by setting -l base_url in my drush command in crontab. You may also want to configure settings.php with a $base_url.

pandorawombat’s picture

Category: support » bug

Using Echo with HTML Mail results in a halfway formatted email followed by "The requested page "/blahblahblah/echo" could not be found." Did anyone figure this out? The one comment on this post doesn't make sense to me at all in this context. Just like the OP, I am also getting the error where after it sends an email, it is trying to redirect to /echo - which of course doesn't exist - and giving a 404 error. Turning off the Echo module makes the error go away, but then of course you get no formatting. I stepped through the code in Xdebug and still have no clue what is causing this mystery redirect - nothing in the code seems to account for it. I am really thinking this must be a bug.

jos_s’s picture

I had the same problem. It appeared to be caused by a configuration of the Apache webserver. Here is how I solved it: http://drupal.org/node/1448278#comment-6955642

If that doesn't help, you must look for something other that causes your Drupal installation from making HTTP/POST requests.

pandorawombat’s picture

The module you mentioned is not installed on my Apache (either staging or production). Also, my Drupal installation has no problem at all with HTTP/POST requests, as we have many other pages which use this technique. The problem seems to be limited to Echo. I guess I will have to disable it and find a different way to format the emails. Thanks everyone for the suggestions.