BounceHandlerCommand.php Updates ....

Jamie Whittingham

Active Member
Hi @twisted1919

So i'm poking around the BounceHandlerCommand.php file and I would like to echo some output to the console when running the bounce-handler manually.

What would I need to be looking for to be able to echo which server is being processed right now and then within that processing bounce server I would like to see that its working ..... so maybe output the bounce email being processed and even the subscriber email found / matched to be marked as bounced please

You have to actually edit the /apps/common/models/BounceServer.php and look for the processRemoteContents() method.
Inside it you can access any property of the server and you also have access to the results processed by the handler, so you can echo them all.