Re: Getting at addressbook information on an Exchange Server...
| From: | Raceeend | Date: | Thu, 26 Sep 2002 13:59:35 +0000 |
| Subject: | Re: Getting at addressbook information on an Exchange Server... | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16031@lists.php.net to get a copy of this message | ||
Can you send that to me too?
regards,
Martijn
M.B. wrote:
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 DataObjects)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..."^[^@ ]+@([a-zA-Z0-9\-]+\.)+([a-zA-Z0-9\-]{2}|net|com|gov|mil|org|edu|int)$"Question 1 I'm not too sure about... Question 2: How do you mean spell check it? There are several levels of depth youcouldtake this to. You could just check the format of it (ie something@somewhere.com) using a pattern matching technique ereg(a,$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 onbylimb and assuming this doesn't exist!) There are ways of taking this further however. You can explode $emaildoesn'tthe @ character and checking that the domain actually exists by simply pinging it or connecting to the relevant smtp server. This again,youstop php from emailing gobbledegook1101240444@yahoo.com (again, probably doesn't exist but the format is ok and the TLD exists). The next stepgetcould take (and this is getting a bit involved here... depends how muchtimeyou've got on your hands) is to talk to the smtp server and attempt tofindout whether the user exists or not. I believe that it is possible toanonlysmtp server to confirm or deny a users existance. Like I say, these are varying levels of checking, I have to say I'veaever 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 allowthisuser to register an email address, and then email a random cipher totherebyaddress and make the user enter the cipher into a validation page,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 Rossto-----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 usedspellcheck 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