Click here to get back home

Looking for module that will expands domain/username to email address

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Looking for module that will expands domain/username to email address Mav 10-23-2004
Posted by Mav on October 23, 2004, 12:56 am
Please log in for more thread options
Hi,

Is that any perl module that If I enter domain/username that will
return that user email address/ expands to the user email address?

For example: mydomain/foorB
return
foor-Bar.something@mydomain.smallworld.org

Thanks,
Mav


Posted by Brian McCauley on October 23, 2004, 10:12 am
Please log in for more thread options
Mav wrote:

> Is that any perl module

This is FAQ: "What modules and [...] are available for Perl? [...]"

Please check the FAQ before you post.

> that If I enter domain/username that will
> return that user email address/ expands to the user email address?
>
> For example: mydomain/foorB
> return
> foor-Bar.something@mydomain.smallworld.org

There is obviously no simple algorithmic system to go this. There must
be some database or directory somewhere that you want to query to get
this information.

You do not say what form this database/directory takes but I'm going to
guess its NT5D (aka Active Directory or AD).

AFAIK you can use LDAP (and hense Net::LDAP) to query a Windows Active
Directory server.

And as I said before when you asked the same question yesterday there
might be a Win32 module specific to talking to NT5D/AD. I didn't bother
to search, I left that as an exercise for the reader. I have now done a
search and I found a module that appears to be what you are looking for
in ~30s. Repeating this search is still left as an exercise for the reader.



Similar ThreadsPosted
Email address syntax check? December 2, 2006, 2:58 pm
Can't find Module IP::Address February 27, 2008, 3:42 pm
Problem installing module Email-Send December 4, 2007, 8:39 pm
Problem creating envelope-from in module Email::Send July 16, 2007, 7:33 am
Problem Installing Module (Email::MIME::Modifier) July 31, 2007, 11:41 pm
Ip address Data Type DBI May 10, 2006, 4:38 pm
IPV6 socket connection, with a link-local address January 11, 2008, 1:12 pm
Converting email December 21, 2004, 6:14 pm
Attaching to an email May 18, 2006, 5:59 pm
Email::Filter hello world August 15, 2004, 3:36 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap