English 中文(简体)
Perl: 在域内或从微软《展望》获取用户和电子邮件
原标题:Perl: Accessing users and e-mails in a Domain or from Microsoft Outlook

I ve recently taken over a script from someone who s left the company and it recently started failing. The code looks up a specific user and sends them an e-mail.

I ve nailed the culprit line that fails to be (user and passwords is set to my personal account):

my $dbh = DBI->connect( dbi:ODBC:IDM , $idm_user, $idm_passwd)

该书从该数据库中选择电子邮件,具体名称为用户日志。

I can t seem to find any documentation on the database IDM and was wondering if anyone knows of it? Is it a built in Microsoft Exchange DB or Windows domain DB?

Thanks!

最佳回答

That line is connecting to an ODBC data source called IDM defined in the ODBC data source administrator in that system.

问题回答

E/CN.15/2007/9。

我感到,这封面写了自己的数据库,以完成这一特殊任务,并维持了该数据库。

我不得不这样做,并使用了Net:LDAP阅读Windowsactive Directory用户电子邮件地址,然后使用给电子邮件。 当然,必须配置你的视窗主动名录,以便让LDAP能够进入,并且必须配置你们的展望电子邮件,以允许员工和管理当局协调会的邮件。

您可尝试诸如Win32:AD:User,直接从主动名录中选取用户电子邮件地址,但我感觉到,你已经获得电线/器。

如果你能够说明如何收集用户信息,你可以尝试:,以书写实际电子邮件。

我从未使用过其中任何一个单元。 我猜测我是幸运的,我的温得地点允许LDAP进入和员工和管理当局协调会。





相关问题
what is wrong with this mysql code

$db_user="root"; $db_host="localhost"; $db_password="root"; $db_name = "fayer"; $conn = mysqli_connect($db_host,$db_user,$db_password,$db_name) or die ("couldn t connect to server"); // perform query ...

Users asking for denormalized database

I am in the early stages of developing a database-driven system and the largest part of the system revolves around an inheritance type of relationship. There is a parent entity with about 10 columns ...

Easiest way to deal with sample data in Java web apps?

I m writing a Java web app in my free time to learn more about development. I m using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

Convert date to string upon saving a doctrine record

I m trying to migrate one of my PHP projects to Doctrine. I ve never used it before so there are a few things I don t understand. In my current code, I have a class similar to this: class ...

热门标签