-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: mailer-plugin
-
None
Hello,
Currently Mailer plugin will wait for 10 secs to retry if connection fails ( could you provide option to define it by user as 10 secs are too less if SMTP server might down for minutes. As Admin I should define like 5 mins, 10 mins for retry.
if (e.getNextException() != null && e.getNextException() instanceof ConnectException)
{ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â context.getListener().getLogger().println("Connection error sending email, retrying once more in 10 seconds..."); Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â transport.close(); Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Thread.sleep(10000); Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }