List:Eventum General Discussion« Previous MessageNext Message »
From:Luca Ritossa Date:October 14 2005 8:01am
Subject:Re: Automatic send emails without crond
View as plain text  
Thanks a lot Bryan!
As soon as possible I'll change the code (in this moment the host-server is 
down for an hardware problem :(((   ).

Bye!
Luca Ritossa

----- Original Message ----- 
From: "Bryan Alsdorf" <bryan@stripped>
To: "Luca Ritossa" <luca.ritossa@stripped>
Cc: <eventum-users@stripped>
Sent: Thursday, October 13, 2005 8:11 PM
Subject: Re: Automatic send emails without crond


> 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
>
> -- 
> Eventum Users Mailing List
> For list archives: http://lists.mysql.com/eventum-users
> To unsubscribe: 
> http://lists.mysql.com/eventum-users?unsub=1
>
> 


Thread
Automatic send emails without crondLuca Ritossa10 Oct
  • Re: Automatic send emails without crondBryan Alsdorf13 Oct
  • Re: Automatic send emails without crondLuca Ritossa14 Oct