We use mailjet as our SMTP server. This means that they manage bounces on their own and we do not receive a bounce email.
They do have an Event API though (mailjet api for bounce events ) makes a call to a requested link. I’m thinking of creating a script that would get the info from that call and insert it to our phplist DB.
I figured out I must:
- Add an entry to ‘phplist_bounce’ and ‘phplist_user_message_bounce’
- Probably increment the bouncecount in ‘phplist_message’ and ‘phplist_user_user’
The only thing I’m missing is how to make the page=bounces to report correctly the campaign and subscriber. Currently they are shown as “unknown”
I read that it’s probably related to having to enter the whole bounce message in phplist_bounce.data
- Unfortunately (as mentioned before) we do not receive a bounce message report.
- I tried making a text file and uploading it via phpmyadmin just to see if it would work. The file contained the following 2 lines:
But still they are reported as unknown in page=bounces.
What would be the minimum info that has to go in ‘phplist_bounce.data’ for phpList to recognize the campaign and user?