Posted by andrewz on August 21, 2009 at 5:46pm
I am starting a new Drupal v6 module to queue email in a database so an external system can poll it by HTTP and then relay it. My web host** (sourceforge.net) regrettably blocks all external connections, so this silliness is the optimal solution. :(
** There probably are a few other web hosts like SourceForge too
Comments
sounds like queue mail
See http://drupal.org/project/queue_mail
--
http://growingventuresolutions.com | http://drupaldashboard.com | http://drupal.org/books
knaddison blog | Morris Animal Foundation
queue mail
Greggles:
Queuing: yes
Cron: no
Make available by HTTP: no
Send via external system: no
correct
It does work on Cron, actually.
So, it does part of your desired task, but not all. It is "like" what you want but not exactly it ;)
I do suggest that you collaborate with this existing queue system, and perhaps add your changes as features to the queue mail project.
Having a generic "process queue via external resource instead of internal" would be a nice addition to job queue.
Also, I don't know the nature of the sourceforge block, but perhaps http://drupal.org/project/smtp could help?
--
http://growingventuresolutions.com | http://drupaldashboard.com | http://drupal.org/books
knaddison blog | Morris Animal Foundation
They are not the same
Sorry, I was not clear. I was referring to the similarities with queue mail, which are very few. 'Queue Mail' uses cron, but cron doesn't help my need at all. The 'SMTP' project also has very little use to me, although I used it as a template for the module (after removing almost everything).
SourceForge blocks 100% of outgoing connections including "everything": SMTP (the mail protocol, not the Drupal module), SMTP over SSL, HTTP, and HTTPS, and SourceForge also blocks the use of sendmail.
My project is not similar to the Drupal modules 'Queue Mail' or 'SMTP', and I think it would take unjustified effort to combine them.
I already have the Drupal part 80% of my module complete, and my new plan is not to publish it.
Released
The code for Drupal 6 is here
http://bleachbit.svn.sourceforge.net/viewvc/bleachbit/misc/httpmail/