by Brett » Mon May 20, 2002 7:11 am
You can't do this with mod_rewrite, since a mailto: link is processed by the browser.
I actually tried something like this recently, replacing the @ sign with %40, and it seemed to work ... until I discovered it wasn't compatible with some versions of AOL.
You could probably do something with JavaScript. For example, the following works in MSIE; I haven't tested other browsers.
<A HREF="mail" onClick="this.href='mailto:name'+'@domain'">link</A>