1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Fix: web-form autoresponder issues

Discussion in 'Plesk for Windows - 8.x and Older' started by shall, May 13, 2008.

  1. shall

    shall Regular Pleskian

    Apr 2, 2007
    Likes Received:
    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");