Send mail trigger for all outgoing mails doesn't work

Infos:

  • Used Zammad version: 6.1.0-1700492762.96ac5a60.bookworm
  • Used Zammad installation type: package
  • Operating system: debian 6.1.38-1

Expected behavior:

  • I set up a trigger for sending mails. I wanted to post a screenshot or share a link to a screenshot, but apparently I can’t do either in this discourse. Here is the description of the trigger:
    • Activated by: Action
    • Action execution: Selective (default)
    • Conditions for affected objects
      • Type is email
      • Sender is Agent
      • Group is some-group
    • Execute changes on objects
      • Email
        • Visibility: public
        • Recipient: some-recipient
        • Subject: #{article.subject}
        • Include attachments of the article?: Yes
        • Body: #{article.body}
    • Active: Yes
  • The idea is, that any outgoing email in that group gets also sent to a specific address.

Actual behavior:

  • It sends no mails at all as specified in the trigger.
  • Everything else works just fine in Zammad, mail sending in general does work, but not this trigger.

Maybe I am just too dumb or something but it seems like everything should just work. I don’t know what or where the error is. Thank you for your help!

These information don’t add app.
Please double check your installation type and resulting version. Right now this looks like a package installation.

Please also be more precise with e.g. OS version.

sorry, i fixed it now.

Hi @berber. Could you please share a screenshot of the mentioned trigger?

the zammad discourse doesn’t allow me to upload images (An error occurred: Sorry, you can't embed media items in a post.) or post links (An error occurred: Sorry, you can't include links in your posts.).

i’ll try with verbatim text (by enclosing with backticks for “code”): https://i.imgur.com/alNRk93.png (EDIT: yes, it worked)

EDIT2: now i am embedding an upload of the screenshot:

Sorry I had to drastically restrict new accounts thanks for spammers having their way as usual.

You should be able to do that now.

1 Like

@berber did you check if the trigger is executed at all and maybe the email sending is not working?

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.