Email Batch Size
May 31, 2016 Leave a comment
Simple tip today: Always make sure you change the default email Batch Size when you install your AEM Forms JEE server.
By default the Batch Size on sending emails is set to ‘2’. This means that if you are testing single emails or Forms Workflows notifications from your new server, you wont see an email until there are two of them waiting to be sent.
I would like to say this setting is fine for a production server or some other use-case, but in reality I can’t think of one. If, for some reason, one email for a particular Task notification is all that is processed for the last hour, then the recipient will never see that email until something else happens in the system to generate another email. Definitely not something that should happen.
- Open AdminUI (http://localhost:8080/adminui) and login
- Browse to Services > Applications and Services > Service Management
- Enter email into the Name: filter field and click Filter
- Click the Email provider service (1st in the list)
- Change Batch Size: to 1