I need a straightforward PHP server-side script that listens to a single group email address on my own custom SMTP server, captures every incoming message, strips out any attachments, and forwards the cleaned message body to each member of the target group. Each group normally contains between 10 and 50 recipients. Core behaviour • The script is triggered the moment mail is delivered to the mailbox (I can set up a pipe or webhook on the server; just tell me which you prefer). • It must read the original headers, preserve the subject line and plain-text / HTML body, remove all attachments, and then send the resulting message to every address stored for that group. • Bounces or failures should be logged to a simple flat file for later review. Configuration Group membership can live in a simple MySQL database table. I will supply the SMTP credentials; the code must authenticate and send through that same server. Deliverables – PHP script(s) with clear inline comments (procedural preferred) (Sample configuration file holding group addresses can be provided) – Quick setup guide describing server prerequisites, the piping method, and how to add or change group members Acceptance I will test by sending a message with several attachments; the recipients should receive the body only, no files, within a few seconds. Any errors should appear in the log. PHPMailer can be installed. I can give access to a test server.