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
I have written Script to process bounce from PowerMTA log files.
What's my script doing ?
It extract campaign id , subscriber uid from bounce record
My bounce address is [SUBSCRIBER_UID]-[CAMPAIGN_UID]@domain.com
Catch bounce dsn from powermta log files and then split into soft or hard bounce.
Using API call i will "Create a bounce " and it will update on mailwizz data base " mw_campaign_bounce_log "
Mailwizz automatically mark " Hard " bounce as " Blacklisted ". So i never needs to do anything about that.
Summary
I use PIPE pmta logs and extract Campaign UID and Sunscriber UID from bounce address & bounce type and dsn. Then add bounce record using API call.
$response = $endpoint->create('CAMPAIGN-UNIQUE-ID', array(
'message' => 'The reason why this email bounced', // max 250 chars
'bounce_type' => 'hard', // hard, soft or internal
'subscriber_uid' => 'SUBSCRIBER-UNIQUE-ID' // 13 chars unique subscriber identifier
));
What are the issues that I have ?
With this script it only possible handle single customer account. If i want to handle another user account then i have to replace that second customer API keys or have to create seperate script for him.
That means if i have 50 customers i have to host 50 scripts or have to edit it each time when they blast. It's difficult / impossible task.
What I tried ?
I tried to use same API key for all customers. I edited data base and even i used same API key for each user it's not works reason i think it's due to // customer_id// on table "mw_customer_api_key"
What are the errors that i'm getting ?
When i use customer A account API key and tried to process bounce for Customer B then i can see all the process runs and finally API reject " The campaign does not exist! "
What am i request ?
Is there any way to get generate API key for user admin that we can handle each and every customer campaigns from it ? ( API key for backend ? )
or How can i get import my data into table "mw_campaign_bounce_log" without using API ?
The text was updated successfully, but these errors were encountered:
I have written Script to process bounce from PowerMTA log files.
What's my script doing ?
It extract campaign id , subscriber uid from bounce record
My bounce address is [SUBSCRIBER_UID]-[CAMPAIGN_UID]@domain.com
Catch bounce dsn from powermta log files and then split into soft or hard bounce.
Using API call i will "Create a bounce " and it will update on mailwizz data base " mw_campaign_bounce_log "
Mailwizz automatically mark " Hard " bounce as " Blacklisted ". So i never needs to do anything about that.
Summary
I use PIPE pmta logs and extract Campaign UID and Sunscriber UID from bounce address & bounce type and dsn. Then add bounce record using API call.
$response = $endpoint->create('CAMPAIGN-UNIQUE-ID', array(
'message' => 'The reason why this email bounced', // max 250 chars
'bounce_type' => 'hard', // hard, soft or internal
'subscriber_uid' => 'SUBSCRIBER-UNIQUE-ID' // 13 chars unique subscriber identifier
));
What are the issues that I have ?
That means if i have 50 customers i have to host 50 scripts or have to edit it each time when they blast. It's difficult / impossible task.
What I tried ?
What are the errors that i'm getting ?
What am i request ?
Is there any way to get generate API key for user admin that we can handle each and every customer campaigns from it ? ( API key for backend ? )
or How can i get import my data into table "mw_campaign_bounce_log" without using API ?
The text was updated successfully, but these errors were encountered: