wesley tanaka

Removing "powered by" tagline from email sent by phplist

‹ Spiritual Teachers | Themeing phplist's output style ›

phplist is a php/mysql based mailing list software distributed under the GPL that allows you to send out email to a list of recipients and has the ability to limit the rate at which it sends out emails, which for example allows you to keep under a messages per hour limit on in a shared hosting environment. Unfortunately, it has an unaesthetically pleasing tagline that it sticks onto all outgoing messages. As the source code is available, it is physically possible to remove that tagline from outgoing mail, but if you do, realize that you're defying the authors' wishes, which are quoted here from admin/sendemaillib.php:

We request you retain the signature below in your emails including the links. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of PHPlist, which is beneficial to it's future development.

You can configure how the credits are added to your pages and emails in your config file.

Michiel Dethmers, Tincan Ltd 2003, 2004, 2005

If that's what you want to do, the following hack will do it (it looks like a cleaner solution would require figuring out where the [SIGNATURE] in the email template is coming from and removing that). These instructions are for phplist version 2.10.2.

  1. Search lists/admin/sendemaillib.php for $text["signature"] = "\n\n--\nPowered by PHPlist, www.phplist.com --\n\n";
  2. Immediately after that line, add the line (or replace the above line with this one):
    $text['signature'] = '';
  3. Search lists/admin/sendemaillib.php for the part that looks like:
      if (!EMAILTEXTCREDITS) {
    .....
    } else {
    $html["signature"] = $PoweredByText;
    }
  4. Add the following line after that section:
      $html['signature'] = '';
  5. Upload the lists/admin/sendemaillib.php file to replace the one on your hosted site and you should be good to go.

Suggested Links

Thank you so much i spent a

Thank you so much i spent a fair while wondering why after removing the $PoweredByText variable it still showed up, thanks! I wouldnt mind if phplist could offer you an easy way to make a donation and then provide removal instructions, i would definetly consider donating!

Thanks!!!!!

Hi, thanks very much!! the best and correct post.

Thank you! It worked right away

Thanks for the valuable instructions! It took 3 minutes to fix. Great relief!
thanks!

Thanks so much, quick fix

Thanks so much, quick fix indeed!

Sending this info to non developers has really no purpose.

Syndicate content