2017 © Pedro Peláez
 

library mailproxy

Display eMail-Adresses without being spamed

image

org_heigl/mailproxy

Display eMail-Adresses without being spamed

  • Wednesday, July 18, 2018
  • by heiglandreas
  • Repository
  • 1 Watchers
  • 3 Stars
  • 104 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 35 % Grown

The README.md

Build Status Coverage Status Scrutinizer Code Quality Code Climate Codacy Badge SensioLabsInsight Latest Stable Version Total Downloads License composer.lock, (*1)

Org_Heigl\Mailproxy

This Zend-Framework-module allows creation of mailto-links using obfuscated eMail-addresses., (*2)

The provided eMail-Address will be obfuscated by simply reversing it. Using CSS the eMail-address will be perfectly readable in the default HTML-output but robots greping the site will simply see a 'reversed' eMail-address or some garbage., (*3)

By clicking on the link the reversed eMail-address will be send to a proxy that redirects the browser to a mailto-url containing the correct eMail-address., (*4)

Installation

The module is best installed using composer., (*5)

    composer require org_heigl/mailproxy

Usage:

  1. In your application.conf-file add the Module to the list of modules like this:, (*6)

        return [
            'modules' => [
                …
                'Org_Heigl\Mailproxy'.
                …
            ]
        ];
    
  2. In your view-script you can then add the following code snippet to create a mailto-link to the address info@example.com:, (*7)

    <?php echo $this->mailto('info@example.com', 'Send me an Email', ['class' => 'myClass', 'title' => 'click me']);
    

The second parameter is optional and its content will be set as link-name (The stuff between the and ) If it's ommited the email-address will be given in a way that it's hard for bots to retrieve them in cleartext., (*8)

The third parameter is also optional. It can be an associative array with further attributes for the anchor-tag. If you want to set the third parameter but omit the second, pass ``null``` as second parameter., (*9)

Experiences

This module runs on php.ug for by now 4 years and I didn't get any spam to the email-addresses that are displayed by the module., (*10)

The Versions

18/07 2018

dev-phpug

dev-phpug http://github.com/heiglandreas/OrgHeiglMailproxy

Display eMail-Adresses without being spamed

  Sources   Download

MIT

The Requires

 

email address spam protection

22/02 2017

dev-master

9999999-dev http://github.com/heiglandreas/OrgHeiglMailproxy

Display clickable eMail-Adresses without being spamed

  Sources   Download

MIT

The Requires

 

The Development Requires

email address zend framework spam zf3 protection

22/02 2017

2.0.0

2.0.0.0 http://github.com/heiglandreas/OrgHeiglMailproxy

Display clickable eMail-Adresses without being spamed

  Sources   Download

MIT

The Requires

 

The Development Requires

email address zend framework spam zf3 protection

06/01 2015

1.0.0

1.0.0.0 http://github.com/heiglandreas/OrgHeiglMailproxy

Display eMail-Adresses without being spamed

  Sources   Download

MIT

The Requires

 

email address spam protection