• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Fix: web-form autoresponder issues

shall

Regular Pleskian
We migrated a site from Plesk 8 for Linux to Plesk 8 for Windows, but the autoresponders that were previously set up started responding ONLY to the PHP sender/anonymous account.

We fixed this by adding a "Return-Path" header to the message in the 4th mail() parameter ($email is the users email address):
mail($to, $subject, $msg, "Return-Path: <$email>\r\n");
 
Back
Top