Announcement

Collapse
No announcement yet.

Emails not being sent in workflows or processes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Emails not being sent in workflows or processes

    HI,

    I want to send an email upon a creation of a record, however it does not work. I tried both workflows and processes neither of them work. The are errors I'm getting are:
    From the workflow: Error Details: Job with empty methodName. at public_html/application/Espo/Core/CronManager.php:376 [] []
    From the process: Workflow[][sendEmail]: To or From email address is empty. [] []
    I checked the details (Emails, and everything else they're filled in properly). I tried sending it from the system, from different users, from specified emails and nothing works. The workflows are triggered, but it fails when trying to send the emails.


  • #2
    Hi Mark,
    Please provide the screenshots of your Workflow configuration.
    Also, make sure that Cron is configured properly https://docs.espocrm.com/administrat...ing-up-crontab and a system SMTP configs are set up in Administration -> Outbound Emails.

    Comment


    • #3
      https://gyazo.com/e4ed6f394daea31f6fe0fe9db120e4a4 (The emails and template are fine, if I try to send this type of email manually it works without any problems). The SMTP configs are also fine. The problem seems to be with the part where the email is being sent
      Also this is the describtion of the job that fails:
      https://gyazo.com/971715e2138a540f19badac389d3c6d4 https://gyazo.com/dc2d8a8bd670a5519cb9a43c49c9c16e
      It pretty much says now that it fails because it there is no method name, as I understand there should be a method name of "sendEmail", however I dont know where the method is fetched, therefore Im stuck
      Last edited by Mark; 06-17-2020, 06:55 PM.

      Comment


      • #4
        Hi Mark,
        Please tell me:
        1. What EspoCRM version do you use?
        2. What Advanced Pack version do you use?
        3. Do you have some code customization of Workflow actions or Jobs?

        Comment


        • #5
          1.I just upgraded to the latest version 5.9.3 with the hope that it was a bug that was fixed (unfortunately the same problem still remains), this problem first came up, when I upgraded to 5.9.1.
          2. Advanced pack version 1.27.0
          3. No

          Comment


          • #6
            Hi Mark,
            We investigated your issue. The reason is the Advanced Pack version 1.27.0 is not compatible with the modern EspoCRM versions. That Advanced Pack version was released more than 3 years ago. Also, there is no easy way to fix it that we might provide to you. A lot of code was changed.
            In this case, we suggest you to buy a newer Advanced Pack version or use your Advanced Pack version with a compatible EspoCRM version.
            Last edited by Maximus; 06-24-2020, 02:13 PM.

            Comment

            Working...
            X