Hello , i am trying to build a PM that sends mails to users(81 in total), i put delay between the emails 25 seconds , but after some repetitions (33,42,72) random each time PM stops with the error : Failed to send emailIs there a limit of email that a sigle PM can send ? or something
Discussion posts and replies are publicly visible
Feels more like a limitation on the mail server side. I suggest to contact the mail server admins.
Did you check the logs if there are any details of the error? random time failures can be due to memory/server related issues. Can't guess the exact cause here.
A suggestion I can make is instead of using 25 seconds delays, Can you configure a process with just email node in it and pass the users one by one using MNI on a start process smart service. This way the emails will go asynchronously and perform better in general.
There’s no hard limit on emails per process, I suggest you check the system logs for exact errors.
UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: [EOF]com.sun.mail.smtp.SMTPSendFailedException: [EOF]i got this
Here are two recommendations to help address the issue:
1) I recommend contacting your mail server administrators to check for any SMTP-related restrictions or issues.
2) Instead of using "Run all instances at the same time" use "Run instances one at a time". This way we can avoid the connection to SMTP server getting exhausted. Or instead of MNI, create your own loop.
Contact you mail provider and ask about the reason of the problem,