Fw: [PHP] mail problem...

From: Date: Thu, 05 Jul 2001 02:20:19 +0000
Subject: Fw: [PHP] mail problem...
Groups: php.general 
Request: Send a blank email to php-general+get-56255@lists.php.net to get a copy of this message
I have see my php.ini and i fill with my stmp server in my network.... but still i can't... which stmp server should i add it. in my network, there are smtp server....but i not the server.... note : i have add to php.ini my smtp server is mail.pesat.net.id but still not working... can any one help me...? ----- Original Message ----- From: Ivan Balazs <ibalazs@sch.bme.hu> To: php <php_aming@hotmail.com> Cc: Php Mailing List <php-general@lists.php.net> Sent: Wednesday, July 04, 2001 6:52 PM Subject: Re: [PHP] mail problem... > Hi! > > It seems to be a php-specific problem. Check your php config file (in php4 > it is php.ini). There you should find a line related to the smtp server. > Fill it with its correct content. > > Balazs > > On Wed, 4 Jul 2001, php wrote: > > > hai... > > > > I have install php and i want to create email direct.... > > > > but when i run my php...but i get error message > > > > Warning: Failed to Connect in e:/learn/php/mail.php on line 24 > > email failed > > > > or i need to add object mail in php.... > > anyone help me with this... > > > > my code like this... > > ============================================================================ ===== > > > > > > > > <html> > > <head> > > <title>Update User</title> > > </head> > > <body> > > > > > > <?php > > > > $applicant = "Hendra"; > > $company = "PT. Sistem Intergra Indonesia"; > > $phone = "324592"; > > > > $to= "amg_land@hotmail.com"; > > $subjek = "Testing php script"; > > $header ="\nForm: hrd.co.id\n"; > > $body = "\nName : " .quotemeta($application). > > "\nCompany : " .quotemeta($company). > > "\phone : " .quotemeta($phone); > > > > $success = mail($to, $subjek, $body, $header); > > > > if ($success) > > { > > echo("email has been send"); > > }else > > { > > echo("email failed"); > > > > } > > > > ?> > > > > </body> > > </html> > > > > ============================================================================ ==== > > > > > >

« previous php.general (#56255) next »