1

I have CiviCRM 5.48.2 on Drupal 8 and I configured CiviMail account for bounces:

civimail account

In my mailing I have set "Track replies" and "Forward replies". In the Civimail settings I have checked "Track CiviMail replies".

When the recipient replies and "fetch_bounces" job is executed no activity is created and no email is sent to the sender.

In the mail account the email is correctly placed in the "processed" folder.

Am I doing something wrong?

Thank you for your help.

4
  • 1
    Are you certain that replies are managed via 'bounce' inbox and job? i wouldn't have thought so. i'd assume it would need a separate inbox and then perhaps the specific Sch Job "Process Inbound Emails (Hourly) - Inserts activity for a contact or a case by retrieving inbound emails from a mail directory API Entity: job API Action: fetch_activities"
    – petednz - fuzion
    Commented May 2, 2022 at 19:39
  • If in my email client I do "Reply" it shows me the "bouncecivicrm+..." that is the localpart of my bounce email account. And this email is picked up by bounce job. The fetch_activities works in another account.
    – masetto
    Commented May 3, 2022 at 15:51
  • ok, that seems to confirm process. sorry for doubting you
    – petednz - fuzion
    Commented May 4, 2022 at 23:12
  • @petednz-fuzion can you try yourself please? Maybe I did something wrong and would really like to solve this problem.
    – masetto
    Commented May 11, 2022 at 14:33

1 Answer 1

1

Based on this:

When the recipient replies and "fetch_bounces" job is executed no activity is created and no email is sent to the sender

I assume your goal is to have an activity created for each reply to your mailing and also to send them some kind of automated email?

I first replicated what you had done and got the same behaviour. However, Based on this documentation https://docs.civicrm.org/sysadmin/en/latest/setup/civimail/inbound/#autofiling-email-activities-via-emailprocessor "Because the bounce handling and EmailProcessor routines both process emails and then file them under "processed" and "ignored" emails, they cannot be used on the same email account."

I think that you need to set things up differently.

I assume the process would be something like

  • Add an "email to activity" Mail Account at admin > civimail > mail accounts
  • Add a From Address that matches the above mail account at admin > civimail > from email addresses
  • Create a new mailing and in the "reply to" section on the first page select the from address that you added above. Replies to this mailing should now end up in the inbox set up for "mail to activity" processing.
  • configure and run the "Activity processor" scheduled job

I have only tested that replies to the mailing end up in the inbox entered into the "reply to" section but have not configured or run the activity processor job.

I'm not sure what the correct way to set up automated replies is but I guess you could do it with a civirule set up to send emails when a new activity of the appropriate type is created. You would need the following extensions

https://civicrm.org/extensions/civirules https://civicrm.org/extensions/e-mail-api

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.