Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
Creating delay between event alert emails
Eric
post Feb 10 2010, 06:22 PM
Post #1


Visitor
*

Group: Members
Posts: 2
Joined: 9-February 10
From: South Florida USA
Member No.: 1,043


I've configured alerts.xml to send out email notifications via SMTP for certain events, specifically to notify when a file is sent or received (Event: Messaging.Message.PayloadDelivered). This works, however, apparently our email server cannot handle receiving multiple emails at the same time and not all notifications are received. I have other (vbs) scripting to send emails and create a 5 second pause between emails and that works quite well.

I'm wondering if anyone can tell me how I can create a delay between the sending of the notifications configured from alerts.xml. How are the emails sent? Is there a file that I can edit to insert a delay between the emails?

Thanks in advance,
Eric
Go to the top of the page
 
+Quote Post
Sandeep Sharma
post Feb 17 2010, 01:19 AM
Post #2


Contributor
Group Icon

Group: Axway Moderator
Posts: 10
Joined: 24-November 08
Member No.: 205


Hi Eric,

Yes, it is possible to control the number of mails sent for same type of events. In the file alerts.xml, near the top of the file, find the Interval minutes element. You can edit this value, save the file, and restart server.

This element limits the number of e-mails that can be sent for the same event. For example, if messages are repeatedly rejected because of an unknown receiver error, only one e-mail message is sent per hour if interval minutes is set to 60.

Thanks,
Sandeep


QUOTE (Eric @ Feb 11 2010, 12:52 AM) *
I've configured alerts.xml to send out email notifications via SMTP for certain events, specifically to notify when a file is sent or received (Event: Messaging.Message.PayloadDelivered). This works, however, apparently our email server cannot handle receiving multiple emails at the same time and not all notifications are received. I have other (vbs) scripting to send emails and create a 5 second pause between emails and that works quite well.

I'm wondering if anyone can tell me how I can create a delay between the sending of the notifications configured from alerts.xml. How are the emails sent? Is there a file that I can edit to insert a delay between the emails?

Thanks in advance,
Eric

Go to the top of the page
 
+Quote Post
Eric
post Feb 23 2010, 08:41 PM
Post #3


Visitor
*

Group: Members
Posts: 2
Joined: 9-February 10
From: South Florida USA
Member No.: 1,043


Thanks for your reply Sandeep. I've commented out the interval in alerts.xml (and restarted the server) because I DO want to receive all messages. But I am not receiving all the messages. For example, yesterday we had 8 files transferred, but only recevied 11 messages. I originally thought this was due to my email server rejecting the messages that were sent rapidy, however, my Exchange Server admin told me he only sees 8 messages hitting the server. A file was delivered at 10:52 and a message was sent. Another file was delivered at 11:08 and no message was sent. A file was delivered at 11:13 and a message was sent. Two files were delivered at 11:35/11:36 and no message was sent. Then files were delivered at 12:34 and messages were sent, and all subsequent messages were sent that day.

So the messages are being sent consistently. I'm wondering if I need to do something other than comment out the "interval" setting line.

Thank you,
Eric


QUOTE (Sandeep Sharma @ Feb 16 2010, 08:19 PM) *
Hi Eric,

Yes, it is possible to control the number of mails sent for same type of events. In the file alerts.xml, near the top of the file, find the Interval minutes element. You can edit this value, save the file, and restart server.

This element limits the number of e-mails that can be sent for the same event. For example, if messages are repeatedly rejected because of an unknown receiver error, only one e-mail message is sent per hour if interval minutes is set to 60.

Thanks,
Sandeep

Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins