@aubrey 
To get bounced emails in CakePHP, you need to follow these steps:
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 'EmailTransport' => [
    'default' => [
        'className' => 'Smtp',
        'host' => 'your-smtp-host',
        'port' => 25,
        'timeout' => 30,
        'username' => 'your-username',
        'password' => 'your-password',
        'client' => null,
        'tls' => null,
    ],
],
'Email' => [
    'default' => [
        'transport' => 'default',
        'from' => '[email protected]',
        'charset' => 'utf-8',
        'headerCharset' => 'utf-8',
    ],
],
 | 
| 1 2 | $this->Email->emailFormat('both');
$this->Email->returnPath('[email protected]');
 | 
| 1 2 3 4 5 6 | public function handleBounce() {
    $emailContent = $this->request->data['message'];
    
    // Parse the email content to extract the relevant information
    // Update your database accordingly
}
 | 
Note: The specific steps may vary depending on your CakePHP version and email service provider configuration, but these steps provide a basic guideline to get you started.