Skip to main content
New Participant
Jun 16, 2025 9:30 AM UTC
Question

Process Model - Email Send Error

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 email

Is there a limit of email that a sigle PM can send ? or something

    6 replies

    stefanhelzle0001
    Brainy
    Jun 16, 2025 9:43 AM UTC

    Feels more like a limitation on the mail server side. I suggest to contact the mail server admins.

    harshas2775
    Brainy
    Jun 16, 2025 9:45 AM UTC

    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. 

    Happy to help. Even happier to optimize.
    meghar3159
    Participating Frequently
    Jun 16, 2025 9:50 AM UTC

    There’s no hard limit on emails per process, I suggest you check the system logs for exact errors.

    New Participant
    Jun 16, 2025 9:56 AM UTC

    UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: [EOF]
    com.sun.mail.smtp.SMTPSendFailedException: [EOF]

    i got this 

    meghar3159
    Participating Frequently
    Jun 17, 2025 12:49 PM UTC

    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.