Randomly some Emails are not being sent to the users using Send Email Smart service

In my application I have used Send Email Smart Service to send Emails to users but for some random requests that node is breaking and mail is not being sent to the users and If the node is restarted then it proceeds ahead without any error in Monitoring mode.

SMTP server configurations also looks fine in custom.properties file.

I have gone through the Server logs and below is the error for one of the such stuck request.

 

Not sure why it is happening randomly. Please find the complete server log for this error in attachment.

 

Any suggestion is appreciated!!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to PRATEEK BHATTI

    I would double check firewalls/SMTP Server whitelist to see if maybe only a partial list of your app servers are permitted to send emails. Perhaps when you restart, it tries on a different app server and is able to succeed.

    Try and check SMTP server logs for other clues

Children
  • I don't suspect this is the case here because if partial list is permitted then why restarting the node is sending the mail to the user and secondly in my case mails stuck randomly i.e For two requests, one request mail is being to user and in second request the mail is not sent to the same user and smart service broke.