Re: changing ' dot ' and ' at ' to '.' and '@'

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.user
Message-ID <[email protected]>
On Fri, 29 Apr 2005 17:45:12 -0400 (Eastern Daylight Time) Alan G Isaac <[email protected]> wrote:

AGI> Mahogany has IMO intelligent handling of email address
AGI> entry.  But I am proposing another innovation.

 The problem is that the list of ideas people come up to obfuscate their
email addresses is endless so I have no illusions we can ever decode all of
them in Mahogany short of building in an AI into it.

AGI> Increasingly I find myself copying and editing email
AGI> addresses that contain ' dot ' and ' at ' as spam
AGI> fighting strategies.  Could Mahogany recognize and
AGI> transform these (ignoring case)?

 According with the above I'm reluctant to build in any code doing it but I
think I have a better idea: 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 ','.')

Of course, the advantage is that anybody can very easily change this hook
and do whatever [s]he needs.

 Would such feature be useful to you? If yes, please let me know and I'll
implement it.

 Thanks,
VZ



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.