Open kevin-netsrik opened 7 years ago
hi i would like to use the library to fetch all bounced mails, and get the error msg and identifiers for further process.
I can see the below bounced msg from thunderbird, but cannot see from function get_messages.
I would like to get the below msg as I need to identify this bounced mail is from which email i sent, and check if this is a soft/ hard bounce.
Reporting-MTA: dns; ----- X-Postfix-Queue-ID: ----- X-Postfix-Sender: rfc822; ----- Arrival-Date: Mon, 4 Sep 2017 11:12:34 +0800 (HKT) Final-Recipient: rfc822; testfafownvownfiowehfowehfnoid@dpowevjwp.com Action: failed Status: 5.4.4 Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error for name=dpowevjwp.com type=A: Host not found Return-Path: <-----> Received: by -----(Postfix, from userid -----) id -----; Mon, 4 Sep 2017 11:12:34 +0800 (HKT) To: testfafownvownfiowehfowehfnoid@dpowevjwp.com Subject: ----- X-PHP-Originating-Script: 5002:class.phpmailer.php Date: Mon, 4 Sep 2017 11:12:34 +0800 From: ----- Reply-To: ----- Message-ID: <8ce8eeff30b1d752446a10a0e3303e2e@-----> X-Priority: 3 X-Mailer: PHPMailer 5.2.24 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_8ce8eeff30b1d752446a10a0e3303e2e" Content-Transfer-Encoding: 8bit
I am not sure if php imap_open provide such function, do you have any idea?
thanks
https://github.com/sberkaysimsek/DOR3
hi i would like to use the library to fetch all bounced mails, and get the error msg and identifiers for further process.
I can see the below bounced msg from thunderbird, but cannot see from function get_messages.
I would like to get the below msg as I need to identify this bounced mail is from which email i sent, and check if this is a soft/ hard bounce.
I am not sure if php imap_open provide such function, do you have any idea?
thanks