RE: [PHP-WIN] Getting at addressbook information on an Exchange S erver...
| From: | Vail, Warren | Date: | Tue, 24 Sep 2002 01:10:20 +0000 |
| Subject: | RE: [PHP-WIN] Getting at addressbook information on an Exchange S erver... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15971@lists.php.net to get a copy of this message | ||
For what it's worth, I abandoned trying to do this at my shop, it appears
that our exchange support group had no interest in getting me the right
release of CDO (Collaborative Data Objects) and the necessary permissions to
access these items. I think I crossed a territorial boundary or sumpin.
There is a good book on the subject;
Exchange & Outlook
Constructing Collaborative Solutions
Joel Semeniuk & Duncan Mackenzie
Macmillan Technical Publishing USA
Since my primary need was to access email, I set up my own POP3 server on my
NT host (EZMTS Freeware), and had this support group set automatic
forwarding of a copy of each email that hit key mailboxes to my server, and
read them there using the PHP IMAP functions, works great, but I am still
blind as to contents of the exchange address book, which at our shop is
somehow tied to LDAP (couldn't get at it that way either).
very frustrating,
Warren Vail
Tools, Metrics & Quality Processes
-----Original Message-----
From: M.B. [mailto:micb_@hotmail.com]
Sent: Monday, September 23, 2002 3:47 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Getting at addressbook information on an Exchange
Server...
I must say, I'm interested too.
M.B.
"Ernani Joppert Pontes Martins" <ernani_listas@terra.com.br> schreef in
bericht news:20020918054140.12114.qmail@pb1.pair.com...
> I have made a com+ module in php that uses CDO (Collaboration Data
Objects)
> to interact with exchange server profiles and send e-mails with php like a
> webmail.
>
> Are you interested ?
>
> Cheers,
>
> Ernani
>
> "Ross Fleming" <r.fleming@clara.co.uk> escreveu na mensagem
> news:PKEOKJGBCLBAKGDHPPFCIEECCEAA.r.fleming@clara.co.uk...
> > Question 1 I'm not too sure about...
> >
> > Question 2:
> >
> > How do you mean spell check it? There are several levels of depth you
> could
> > take this to. You could just check the format of it (ie
> > something@somewhere.com) using a pattern matching technique
> > ereg(
> >
>
"^[^@ ]+@([a-zA-Z0-9\-]+\.)+([a-zA-Z0-9\-]{2}|net|com|gov|mil|org|edu|int)$"
> > ,$email) is a rather simple one.
> >
> > This only checks that it's a valid format of email address however. It
> > doesn't stop php emailing nonexistantaddress@onebigTLD.com (going out on
a
> > limb and assuming this doesn't exist!)
> >
> > There are ways of taking this further however. You can explode $email
by
> > the @ character and checking that the domain actually exists by simply
> > pinging it or connecting to the relevant smtp server. This again,
doesn't
> > stop php from emailing gobbledegook1101240444@yahoo.com (again, probably
> > doesn't exist but the format is ok and the TLD exists). The next step
you
> > could take (and this is getting a bit involved here... depends how much
> time
> > you've got on your hands) is to talk to the smtp server and attempt to
> find
> > out whether the user exists or not. I believe that it is possible to
get
> an
> > smtp server to confirm or deny a users existance.
> >
> > Like I say, these are varying levels of checking, I have to say I've
only
> > ever went so far as to resolving the TLD through a DNS server.
> >
> > A solution you may wish to consider, is only allowing trusted email
> > addresses to be used. One way I have done this in the past is to allow
a
> > user to register an email address, and then email a random cipher to
this
> > address and make the user enter the cipher into a validation page,
thereby
> > validating the email address a genuine and held by the user.
> >
> > I'd be glad to help if you've got any questions about the solutions I've
> > given. :)
> >
> > HTH
> >
> > Ross
> >
> > > -----Original Message-----
> > > From: RS Herhuth [mailto:ronherhuth@mindspring.com]
> > > Sent: 24 August 2001 15:31
> > > To: php-windows@lists.php.net
> > > Subject: [PHP-WIN] Getting at addressbook information on an Exchange
> > > Server...
> > >
> > >
> > >
> > > Two questions (well four if you count the sub questions):
> > >
> > > 1. Is there a way to get at the addressbook information stored on an
> > > Exchange Server using PHP? Is there any documentation anyone
> > > knows of that
> > > can aid in this?
> > >
> > > 2. Is it possible to create an inline spellchecker that could be used
> to
> > > spellcheck an email before it is sent using PHP? Is there any
> > > documentation
> > > anyone knows of that can aid in this?
> > >
> > > Thanks,
> > > Ron
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php