Answers.Body: <p>Based on this:</p>
  <blockquote>
  <p>When the recipient replies and &quot;fetch_bounces&quot; job is executed no
  activity is created and no email is sent to the sender</p>
  </blockquote>
  <p>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?</p>
  <p>I first replicated what you had done and got the same behaviour. However,
  Based on this documentation <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/civimail/inbound/#autofiling-email-activities-via-emailprocessor" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/civimail/inbound/#autofiling-email-activities-via-emailprocessor</a> &quot;Because the bounce handling and EmailProcessor routines both process emails and then file them under &quot;processed&quot; and &quot;ignored&quot; emails, they cannot be used on the same email account.&quot;</p>
  <p>I think that you need to set things up differently.</p>
  <p>I assume the process would be something like</p>
  <ul>
  <li>Add an &quot;email to activity&quot; Mail Account at admin &gt; civimail &gt; mail accounts</li>
  <li>Add a From Address that matches the above mail account at admin &gt; civimail &gt; from email addresses</li>
  <li>Create a new mailing and in the &quot;reply to&quot; 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 &quot;mail to activity&quot; processing.</li>
  <li>configure and run the &quot;Activity processor&quot; scheduled job</li>
  </ul>
  <p>I have only tested that replies to the mailing end up in the inbox entered into the &quot;reply to&quot; section but have not configured or run the activity processor job.</p>
  <p>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</p>
  <p><a href="https://civicrm.org/extensions/civirules" rel="nofollow noreferrer">https://civicrm.org/extensions/civirules</a>
  <a href="https://civicrm.org/extensions/e-mail-api" rel="nofollow noreferrer">https://civicrm.org/extensions/e-mail-api</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-09T00:07:29.233Z
Answers.LastActivityDate: 2024-05-09T05:23:07.797Z
Answers.LastEditDate: 2024-05-09T05:23:07.797Z
Answers.UserDisplayName: Toby-fz
Body: <p>I have CiviCRM 5.48.2 on Drupal 8 and I configured CiviMail account for bounces:</p>
  <p><a href="https://i.sstatic.net/osarC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/osarC.png" alt="civimail account" /></a></p>
  <p>In my mailing I have set &quot;Track replies&quot; and &quot;Forward replies&quot;.
  In the Civimail settings I have checked &quot;Track CiviMail replies&quot;.</p>
  <p>When the recipient replies and &quot;fetch_bounces&quot; job is executed no activity is created and no email is sent to the sender.</p>
  <p>In the mail account the email is correctly placed in the &quot;processed&quot; folder.</p>
  <p>Am I doing something wrong?</p>
  <p>Thank you for your help.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-02T19:39:52.510Z
Comments.Text: 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"
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-03T15:51:15.007Z
Comments.Text: 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.
Comments.UserDisplayName: masetto
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-04T23:12:04.213Z
Comments.Text: ok, that seems to confirm process. sorry for doubting you
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-11T14:33:24.997Z
Comments.Text: @petednz-fuzion can you try yourself please? Maybe I did something wrong and would really like to solve this problem.
Comments.UserDisplayName: masetto
Tags: <civimail>
Title: Civimail reply tracking and forwarding does not seem to work
ThreadText: # Civimail reply tracking and forwarding does not seem to work
  
  (Asked by: username_0 on 2022-05-02)
  
  I have CiviCRM 5.48.2 on Drupal 8 and I configured CiviMail account for bounces:
  
  [![civimail account](https://i.sstatic.net/osarC.png)](https://i.sstatic.net/osarC.png)
  
  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.
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_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"  
  > **username_0**: 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.  
  > **username_1**: ok, that seems to confirm process. sorry for doubting you  
  > **username_0**: @petednz-fuzion can you try yourself please? Maybe I did something wrong and would really like to solve this problem.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-05-09. Score: 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>
  
  
  ---
  
  