QAds
12 Ay Taksit
Apple iPod touch 32 GB
$138.10
Sony Ericsson T715 Slider 3G Phone in Rouge Pink
$149.96
Apple iPad 16gb Wi-Fi 3G
$399.31
Samsung S5233 with 3 MP Camera, MP3 player
$93.99
:: HOME » PHP » How can I send email with PHP?
 
How can I send email with PHP?
How can I send email with PHP?
You can use below format to send email.

 
 
Code
$to = $email; // email you want to send email to
$subject = "Subject Here";
$headers = "MIME-Version: 1.0" . "\n";
$headers .= "Content-type: text/HTML; charset=iso-8559-1";
$headers .= "To: ".$receivername." <".$to.">" . "\n"; // Put receiver name and email
$headers .= "From: ".$fromname." <".$fromemail.">\n"."Reply-To: ".$replyemail."\n"; // Put who sends this email and also email address to reply
$content = "E-Mail content here";
if(@mail($to, $subject, $content, $headers )) { ... } // if email has been sent successfully
else { ... } // if Failed
 
 
NEW ANSWER
 
Your E-Mail Address
»
Your e-mail will never be shown!  
   
 
Answer
»
Please type your ANSWER and please use [CODE] tag for your codes!  
  Add CODE Quote BOLD ITALIC Underline Align Left Align Center Align Right Add Line  
   
 
Human Check
»
Enter human check code below!  
   
 
       
 
 
Website Designer, Search Engine Optimization Expert, Ajax Developer,Developed And Designed By Mumin Celik With Using PHP, MySQL, CSS, JavaScript, Ajax And Search Engine Optimizer Sinema ve Film Rehberi Sudoku Oyunu