# Mailto Redirect Link Things

**URL:** <https://forum.kirupa.com/t/mailto-redirect-link-things/191925>\
**Category:** random\
**Created:** [June 24, 2006, 12:07am UTC](https://forum.kirupa.com/t/mailto-redirect-link-things/191925 "2006-06-24T00:07:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [June 24, 2006, 12:07am UTC](https://forum.kirupa.com/t/mailto-redirect-link-things/191925/1 "2006-06-24T00:07:41Z")

</div>

I was thinking, a cool way to avoid email harvesters that would work quite well is something like this:

```auto
<a href="mailer.php" title="Mail me">Mail me!</a>

```

Then, in _mailer.php_, have this:

```php
<?php
header('Location: mailto:email@domain.com');
?>

```

That way, all browsers would redirect to the mailto link, which would open the mail app. Spammers wouldn’t see the email though, and they wouldn’t add it.

Whatcha think?
