Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hello friends ,
i am trying to send mail through php , but having some problem
my code is
PHP:Code: Select all
<?php
$to = 'haider.athar@gmail.com';
$subject = 'the subject'. "\r\n";
$message = 'hello'. "\r\n";
$headers = 'From: haider.athar@gmail.com' . "\r\n" ;
$result=mail($to, $subject, $message, $headers);
if($result)
echo('mail successfully delivered');
else
echo('mail could not be delivered');
?>so to visible my mail in desired folder what i should do,
please try to solve my problem
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]