Re[2]: changing ' dot ' and ' at ' to '.' and '@'
Alan G Isaac <[email protected]>
| Newsgroups | gmane.mail.mahogany.user |
|---|---|
| Organization | American University |
| Message-ID | <[email protected]> |
> On Fri, 29 Apr 2005 17:45:12 -0400 (Eastern Daylight Time) Alan G Isaac <[email protected]> wrote: >> Increasingly I find myself copying and editing email >> addresses that contain ' dot ' and ' at ' as spam >> fighting strategies. Could Mahogany recognize and >> transform these (ignoring case)? On Sun, 15 May 2005 Vadim Zeitlin apparently wrote: > what about adding a Python hook which would be executed to > normalize every email address entered into composer? E.g. > to do the above you'd simply have to define a function in > Minit.py like this: > def M_address_hook(addr): > return addr.replace(' at ','@').replace(' dot ','.') As long as this would not interfere with the current wonderful expansion handling (including the cc: etc), I would love to try it. It sounds very useful. Cheers, Alan ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click