The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Contact Form 7
Setting "Return-Path" (1 post)

  1. iraweissman
    Posted 4 years ago #

    I'm going on vacation now for a week or so, and am having a hard time getting my Google Apps mail vacation responder to work. The emails sent to me from CF7 have the user's email set as the "From" and "Reply-To" address so I can easily reply, but Google's auto-responder takes the "Return-Path" from the email header, which is some bogus email address being fed by my server (I'm assuming it's some kind of php default). I've tried to add "return-path" to the additional headers section, but it doesn't work.

    I tested this:

    <?php mail('to@mail.com', 'Subject', 'Body Message', 'From: from@gmail.com', '-f return-path@gmail.com'); ?>

    and it works great. How can I get CF7 to mimic the functionality of the above PHP function? ie, adding the -f statement.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic