Re: Doubt in mail()

From: Date: Thu, 31 Aug 2000 14:08:12 +0000
Subject: Re: Doubt in mail()
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-2339@lists.php.net to get a copy of this message
Vivek K wrote: > Hi > Code is here. > Our SMTP server is unix box > > $To = "vivek@madona.com,vivekk@india.hp.com"; Just a thought from some alternate syntax to try... while PHP doesn't have a problem with the @ sign being a reserved word, PERHAPS your smtp settings on the Unix box do??? Not sure, but it's worth a try to escape the @... also, put a space after your comma in the $To string... I know that sounds silly also, but what the hey. So the different approach might look like: $to = "vivek\@madona.com, vivekk\@india.hp.com"; See whether that helps. -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#2339) next »