Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
- New user
- Posts: 1
- Joined: 2020-04-30 13:08
I have a script limiting mails per minute of user accounts triggering on OnDeliveryStart. When limit is reached it sets Result.Value to 1.
Code: Select all
Result.Value = 0
If oMessage.From = "ThrottleTest@domain.tld" Then
If check_limit_reached(oMessage) Then
Result.Value = 1
This causes the message to be deleted afterwards. Is there a way to move the message back to the queue to be retried later?
- Senior user
- Posts: 2475
- Joined: 2017-09-12 17:57
Sorry, I don't have an answer for you - but that's funny.