Page 1 of 1
How much time Open emm will take to send email
Posted: Tue Jul 06, 2010 2:40 pm
by zarnab
How much time Open emm will take to send email on a very small list on 10 recipients.
everything is fine and well configured but it say that " This mailing is being sent at the moment." Now its more than half hour and results are same. i need to know that is that any way to resolve this problem.
I am using version 6.1.
Thanks
waiting for kind suggestions.
Posted: Fri Jul 09, 2010 9:26 pm
by jshipe
I too am expieriencing the same issue.
Distribution status:
Delivery is scheduled
Generation:
Scheduled generation time: Jul 9, 2010 4:18 PM
Delivery:
Scheduled send time: Jul 9, 2010 4:19 PM
This mail has been "scheduled" for more than 15 minutes. Is there some way to ensure that these mails are delivered when scheduled?
Posted: Fri Jul 09, 2010 9:48 pm
by jshipe
I would like to add to this a little bit.
I'm using OpenEMM v6.0.1, and I'm interfacing with the EMM database with some of our own code to pull reports, so I'd rather not upgrade to 6.1 unless it can directly fix this problem.
The mail I'm sending has only 1 recipient. When I send the mailing via the webservice call, I set the scheduled time to now + 1 min. I had hoped that this would fix the sending issue, but it does not.
However, I don't experience this problem when sending a mail through the GUI - only when sending via webservice.
This time varies - I've seen them send as fast as 4 minutes and as long as 20.
Posted: Wed Jul 14, 2010 3:07 am
by jshipe
The stepping and blockSize for the sendMailing web service call are both set to 0 as the documentation suggests.
Posted: Tue Jul 20, 2010 4:49 pm
by jshipe
145 views and no replies...
Can anyone point us in the right direction? I can provide as much detailed information as you need. Just let me know what to look at. Thanks!
Posted: Fri Jul 23, 2010 9:35 am
by bschlarmann
I've experienced the same symptoms. In my case the problem was that some of the external scripts (like bavd, bav-update, slrtscn) were not running. It seems that these script are responsible for actually delivering the mail to sendmail.
The scripts didn't start up because of some empty lock files. Try to remove the files in /home/openemm/var/lock and restart openemm.
Posted: Fri Jul 23, 2010 2:25 pm
by jshipe
Thanks for the reply, but this did not fix the issue for me.
One of the OpenEMM processes seems to check for mailings on an interval when they are scheduled with a web service call. Does this sound accurate? If so, can it be configured? As I had stated before, the mails send instantly when sending from the GUI, but are delayed when sending by web service call.
Posted: Fri Jul 23, 2010 4:33 pm
by bschlarmann
Yes it seems openemm uses a cron like service (quartz) for checking every 15 mins if there are any mailings scheduled. You can configure the rate at which this check job is scheduled by changing the value of "delayedMailings.cronExpression" in the file emm.properties.
As said this value defaults to every 15 minutes, so this could explain the varying delay you experienced
You can also try to use the value 0 for the sendTime parameter in the web serive, a look at the code suggests that this might make the mailing be send out immediately.
Posted: Fri Jul 23, 2010 6:23 pm
by jshipe
This is exactly what I needed. Thank you!
I set my cron syntax to once per minute (*/1) and it generates the emails right on time now.
Re: How much time Open emm will take to send email
Posted: Tue Jan 25, 2011 9:33 am
by Bl4k3
You can at least configure it through delayedmailings.cronExpression. I guess it will appear in emm.properties. Search the Google and there are some related problems like yours.