I've seen (and experienced) this problem before. I think that Exchange does /not/ like it when you try to do that. I think it thinks you're trying to use it as an open relay host (a very Bad Thing).
I have not tried to remedy the situation before, but you may be able to use MS's instructions on how to lock down your open relay (I searched Google for exchange open relay and I get lots of results) and set it so that your webserver/php host can "relay" mail. Just be careful........ Here's the link I used to lock down my Exchange server: http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=7696 In theory, you'd just add your IIS server to this screen: http://www.exchangeadmin.com/Files/04/7696/Screen_04.gif and restart your IMC service and you should be good to go. Of course, this is in theory as I haven't tried it. -Dash Everybody wants to go to heaven, but nobody wants to die. On Wed, 2 Oct 2002, CENGIZ SOYUKAN wrote: > Hi, > > I use ISS and PHP 4.2 . I can send an e-mail using mail function to intenal > users our domain user but if I try to send an e-mail to outside of the our > domain I got the following error message. > > Your message did not reach some or all of the intended recipients. > > Subject: Blah Blah > Sent: 02.10.2002 13:40 > > The following recipient(s) could not be reached: > > [EMAIL PROTECTED] on 02.10.2002 08:36 > The recipient name is not recognized > The MTS-ID of the original message is: c=US;a= > ;p=TEI;l=PRIORIS0210020535TCPTQPC7 > MSEXCH:IMS:TEI:MIS:PRIORIS 0 (000C05A6) Unknown Recipient > > > $header = "From: [EMAIL PROTECTED]"; > $to = "[EMAIL PROTECTED]"; /* if send to [EMAIL PROTECTED] no > problem*/ > $message = "Test!"; > $subject = "Blah Blah"; > mail( $to, $subject, $message, $header ); > > > > Thanks. > > > -- > 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