Hi Aashish, Thanks for the response. Yes, it works good for new operations. It fails with Null pointer exception if I retry the stalled ones after corrections.This was the initial error - Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, ...