You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry this is not a bug but a request for clarification.
I connected my CiviCRM Outbound email to Amazon SES with a Topic to SNS that has a subscriber set to the AirMail hook. Emails are going out and SNS is receiving bounce events. I confirmed that a (forced) bounced email caused an event to arrive in SES and the SNS topic and get emailed to my email via another subscriber. How can I confirm that Airmail received the hook call and processed it successfully?
I noticed in your source code that when Airmail receives a bounce event, it makes an API3 call in EventAction.php:
$bounceEvent = civicrm_api3('Mailing', 'event_bounce', $params);
But I cannot tell what's in the $params or what the event_bounce function actually does. I'm assuming $params contains the SES Bounce message body which contains a parseable structure that AirMail or CiviMail can interpret. I was hoping it find the recipient email, looks it up in Civi Contacts and either sets the email to On Hold and/or unchecks send Bulk Emails. Possibly posts an activity as well.
I saw something about Elastic, which I'm guessing it uses to store a log of the incoming messages but I don't think that's required since I didn't see instructions in AirMail SES Readme or Baackend/Ses.php.
If the extension is just logging events for manual review, can you recommend an extension that actually flips the offending email to On Hold?
Thanks for your help!!
Norm
The text was updated successfully, but these errors were encountered:
Sorry this is not a bug but a request for clarification.
I connected my CiviCRM Outbound email to Amazon SES with a Topic to SNS that has a subscriber set to the AirMail hook. Emails are going out and SNS is receiving bounce events. I confirmed that a (forced) bounced email caused an event to arrive in SES and the SNS topic and get emailed to my email via another subscriber. How can I confirm that Airmail received the hook call and processed it successfully?
I noticed in your source code that when Airmail receives a bounce event, it makes an API3 call in EventAction.php:
$bounceEvent = civicrm_api3('Mailing', 'event_bounce', $params);
But I cannot tell what's in the $params or what the event_bounce function actually does. I'm assuming $params contains the SES Bounce message body which contains a parseable structure that AirMail or CiviMail can interpret. I was hoping it find the recipient email, looks it up in Civi Contacts and either sets the email to On Hold and/or unchecks send Bulk Emails. Possibly posts an activity as well.
I saw something about Elastic, which I'm guessing it uses to store a log of the incoming messages but I don't think that's required since I didn't see instructions in AirMail SES Readme or Baackend/Ses.php.
If the extension is just logging events for manual review, can you recommend an extension that actually flips the offending email to On Hold?
Thanks for your help!!
Norm
The text was updated successfully, but these errors were encountered: