phpmailer-bmh's Introduction
About PHPMailer-BMH (Bounce Mail Handler): Bounce mail management is an area that is largely ignored by PHP developers. There are no comprehensive scripts available, yet it is one area decidedly in need. It is unclear who the original developer of BMH was, but to that individual: many many thanks. The quality of the rules, and the concept (and coding) behind the BMH project are excellent. We are pleased to take over the project and continue its development and growth. What is PHPMailer-BMH (Bounce Mail Handler)? Whenever you send an email campaign, you must prepare for an avalanche of undeliverable mail. All the bounced messages to email addresses that are out of date, never existed, whose mailbox is full or otherwise inaccessible will be returned undeliverable (bounced). Sending your email campaigns to these addresses every time is a costly waste of time and effort. Manually cleaning your list manually takes a lot of time and effort. Now PHPMailer-BMH is available. Using a customizable set of rules it detects and extracts email addresses with delivery failures. We provide an easy way to deal with the email addresses of these bounced emails through a callback function that you can customize to your needs. We have included samples for the three most common processes: echo to screen, update database (and echo to screen), and create CSV file (and echo to screen). The entire process of dealing with your bounced emails can be totally automated and within your own environment and control. Using PHPMailer-BMH is fairly simple. The documentation includes all methods, and all properties. There is an index.php sample script that is comprehensive. In the '/docs/' folder, you will also find the PHP Documentor created documentation. Please review the documentation and sample. We have also included three sample callback functions: one to echo back to the screen, one to output the PHPMailer-BMH results to a CSV file, and one to output the PHPMailer-BMH results to a MySQL database (and all echo back to the screen). PHPMailer-BMH (Bounce Mail Handler) can be used on remote mailboxes as well as local directories to process .eml files. See the index.php file for usage. Enjoy! Regards, Andy Prevost [email protected]
phpmailer-bmh's People
Forkers
instaclick rpouls gadgetto dutchdrops neslonso paul222 morpholetto konishi-terraport flaviovs 00mjk bilelphpmailer-bmh's Issues
Installation question
I've been using PHPMailer for about 6 months now to send out around 100,000 emails per month. I just discovered the BMH code on GitHub today. Are they two separate products? Should I install BHM inside my existing PHPMailer folder on the server?
Thanks!
New rule for 'Message rejected due to content restrictions'
I am trying to make a new rule on phpmailer-bmh_rules.php
/* rule: unknown
* sample:
* Diagnostic-Code: smtp; 5.3.0 - Other mail system problem 550-'5.7.1 Message rejected due to content restrictions' (delivery attempts: 0)
*/
elseif (preg_match ("/Message rejected due to content restrictions/is",$diag_code)) {
$result['rule_cat'] = 'unknown';
$result['rule_no'] = '0240';
}
I have added a rule for body and it worked out. however this $diag_code rule doesnt work. Does anyone have solution or reason for this please. Thanks
aim.com bounce
This is the mail system at host host.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
[email protected]: host mailin-03.mx.aol.com[64.12.90.97] said: 550 5.1.1
[email protected]: Recipient address rejected: aim.com (in reply to
RCPT TO command)
new rules - host or domain name not found
I redirected the bounce on gmail and phpmailer not recognizes the bounce type.
I add this rule :
elseif( preg_match( "/Host or domain name not found/is", $diag_code ) ) { $result['rule_cat'] = 'unknown'; $result['rule_no'] = '0237'; $result['bounce_type'] = '5.4.4'; }
Here the mail content :
<[email protected]>: Host or domain name not found. Name service error for name=surlalune.lu type=AAAA: Host not found Final-Recipient: rfc822; [email protected] Action: failed Status: 5.4.4 Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error for name=surlalune.lu type=AAAA: Host not found
yahoo.com bounces
This is the mail system at host host.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
[email protected]: host mx1.mail.eu.yahoo.com[77.238.177.9] said: 554
delivery error: dd This user doesn't have a yahoo.fr account
([email protected]) [0] - mta1064.mail.ird.yahoo.com (in reply to end of
DATA command)
hotmail.com
This is the mail system at host host.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
[email protected]: host mx3.hotmail.com[65.54.188.110] said: 550
Requested action not taken: mailbox unavailable (in reply to RCPT TO
command)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.