How much time Open emm will take to send email

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

zarnab
Posts: 1
Joined: Tue Jul 06, 2010 2:33 pm
Location: Khi
Contact:

How much time Open emm will take to send email

Post 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.
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post 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?
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post 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.
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post by jshipe »

The stepping and blockSize for the sendMailing web service call are both set to 0 as the documentation suggests.
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post 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!
bschlarmann
Posts: 2
Joined: Fri Jul 23, 2010 9:29 am

Post 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.
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post 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.
bschlarmann
Posts: 2
Joined: Fri Jul 23, 2010 9:29 am

Post 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.
jshipe
Posts: 9
Joined: Fri Apr 23, 2010 3:58 pm

Post 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.
Bl4k3
Posts: 2
Joined: Tue Jan 25, 2011 9:13 am

Re: How much time Open emm will take to send email

Post 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.
Post Reply