Set the correct return-path in phplist

PHP List is a newsletter script that can send quite a bunch of prepared e-mails to different list of recipients. It can handle quite anything you'll need. Import CSV Lists, export into files, find broken adresses, handle bounces.

You might find yourself in the situation that you already set a "replyto" and a "sender", but are receiving messages at a different address (like info@yourdomain.com). Unfortunately, I didnt find a way to set the return-path inside PHP List directly. So here is how I solved that issue:

/**
     * Sets the Sender email (Return-Path) of the message.  If not empty,
     * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
     * @var string
     */
    var $Sender            = "letter@yournewslettersenderssite.de";

That should do the trick.