Announcement

Collapse
No announcement yet.

Mass email jobs failed and no logs

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

  • Mass email jobs failed and no logs

    Hi all,

    I'm trying to send a mass email for a campaign, but:
    1. the job executes
    2. it attempts 3 times to send each email, then it sets the email queue item to "Failed"
    3. no specific logs in data/logs
    4. the campaign status gets changed to "complete"
    Click image for larger version  Name:	image.png Views:	3 Size:	12.6 KB ID:	110300


    Basically, my cron task gets executed (I double checked), no logs gets saved though, and the email fails with no explanation.

    I have my instance running on docker​.

    I have read Send Mass Emails is not working on Campaign - EspoCRM Open Source Community Forum​ already, and tried some of their fixes but none works (e.g. disabled and reenabled the mass mail job, rebooted the whole docker instance, disabled parallel jobs etc.
    Attached Files
    Last edited by alexfacciorusso; 09-16-2024, 03:18 PM.

  • #2
    Hi,

    1. Did you try to send a Test Email? Does it send? https://docs.espocrm.com/user-guide/.../#test-sending
    2. Does the Mass Email record have an Email Template assigned?
    3. Do targets have an email address?
    4. Are these email addresses not marked as invalid or opt-out?
    5. What EspoCRM version do you have?

    From looking into the code, I can see that the log message should be printed, as it's printed right after an incremented attempts number is saved. The message should start with the text "Mass Email, send item: ".
    Last edited by yuri; 09-16-2024, 05:41 PM.

    Comment


    • #3
      Hi,

      1. Did you try to send a Test Email? Does it send? https://docs.espocrm.com/user-guide/.../#test-sending
      Yes, it sends fine.

      2. Does the Mass Email record have an Email Template assigned?
      Yes I do

      ​​
      3. Do targets have an email address?
      Yes all of them


      4. Are these email addresses not marked as invalid or opt-out?


      Nope, all valid and not opted-out

      ​​
      5. What EspoCRM version do you have?

      From looking into the code, I can see that the log message should be printed, as it's printed right after an incremented attempts number is saved. The message should start with the text "Mass Email, send item: ".


      latest one, 8.4.0.

      Yeah it's weird as I don't see any log message in my logs

      Comment


      • #4
        I have just discovered, after 2 weeks (no joke) of trying things out, that my daemon instance running on docker compose (the entrypoint: docker-daemon.sh one, just to be clear) had a wrong /var/www/html folder mounted in it.

        So yeah, for whoever comes here with a similar issue:

        make sure the /var/www/html folder of your daemon and main instance of EspoCRM are mounted on the same volume/directory.

        Comment

        Working...
        X