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" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED]... > 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 > [EMAIL PROTECTED]) 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 [EMAIL PROTECTED] (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 [EMAIL PROTECTED] (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:[EMAIL PROTECTED]] > > Sent: 24 August 2001 15:31 > > To: [EMAIL PROTECTED] > > 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