Question

5
Replies
558
Views
Ravi Kumar Pisupati Member since 2015 75 posts
Optum
Posted: 3 years ago
Last activity: 3 years 1 month ago
Closed
Solved

SMTP exception while sending emails using Agent

Hi,

We have a requirement to pull the data from DB and send the multiple emails to multiple recipients based on the biz logic. This whole process runs in an Agent and it runs every night after biz hours. As per the settings, agent runs successfully and the emails were sent. But we see an exception while running the agent and the exception details are given below. I am not sure whether this exception stops sending emails or not. After doing some research, I did find a PDN article on this issue and the resolution for it. But I am checking like is there any alternative solution for resolving this issue without making SMTP configuration changes as mentioned in the article. We are using PRPC 7.2.2 in our application and WAS is our app server. The email server for our application is the company's standard mail server.

Exception:

javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 452 Too many recipients received this hour ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 452 Too many recipients received this hour ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 452 Too many recipients received this hour

PDN article:

https://pdn.pega.com/support-articles/sendfailedexception-invalid-addresses

Please let me know your thoughts on this.

Thanks,

Ravi Kumar Pisupati.

Low-Code App Development Dev/Designer Studio Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn