List:Eventum General Discussion« Previous MessageNext Message »
From:Bryan Alsdorf Date:October 13 2005 6:11pm
Subject:Re: Automatic send emails without crond
View as plain text  
Hi,

Luca Ritossa wrote:
> Hi,
> 
> first of all congratulations for this fantastic tool!

Thanks!

> I'm currently using the latest version 1.6.1 with a third-party host-server. 
> 
> My question is about the possibility to bypass the mailqueue and directly
> send all the email created by Eventum (new issue, update, close etc).
> 
> I didn't find any options about it.
> 
> I have this problem because my host-server actually doesn't support the
> crond job so I can't schedule the process_mail_queue.php (only manual by
> calling it via Internet Explorer, but I don't like this work-around).
> 
> I think that, in this case, it would be very interesting an option that call
> underground the process_mail_queue.php everytime Eventum create a mail. or
> simply send the email to the recipient bypassing the mail queue.
> 
> Could you help me?
> 
> Any suggestions are appreciated.
>  

While there is no option to do this, you can easily change the code to 
do this.

Open up include/class.mail_queue.php and go to line 145.

Add the following 2 lines before the return statement.

Mail_Queue::send("pending", 5);
Mail_Queue::send("error", 5);

This should send email as soon as it is added to the queue.

Regards,
-- 
Bryan Alsdorf, Software Engineer
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification
Thread
Automatic send emails without crondLuca Ritossa10 Oct
  • Re: Automatic send emails without crondBryan Alsdorf13 Oct
  • Re: Automatic send emails without crondLuca Ritossa14 Oct